GLOBAL: Colour => Color
parent
014026e6d5
commit
9498a62c34
|
@ -626,7 +626,7 @@ Snap.Matrix = Matrix;
|
||||||
* Parses color string as RGB object
|
* Parses color string as RGB object
|
||||||
- color (string) color string in one of the following formats:
|
- color (string) color string in one of the following formats:
|
||||||
# <ul>
|
# <ul>
|
||||||
# <li>Colour name (<code>red</code>, <code>green</code>, <code>cornflowerblue</code>, etc)</li>
|
# <li>Color name (<code>red</code>, <code>green</code>, <code>cornflowerblue</code>, etc)</li>
|
||||||
# <li>#••• — shortened HTML color: (<code>#000</code>, <code>#fc0</code>, etc.)</li>
|
# <li>#••• — shortened HTML color: (<code>#000</code>, <code>#fc0</code>, etc.)</li>
|
||||||
# <li>#•••••• — full length HTML color: (<code>#000000</code>, <code>#bd2300</code>)</li>
|
# <li>#•••••• — full length HTML color: (<code>#000000</code>, <code>#bd2300</code>)</li>
|
||||||
# <li>rgb(•••, •••, •••) — red, green and blue channels values: (<code>rgb(200, 100, 0)</code>)</li>
|
# <li>rgb(•••, •••, •••) — red, green and blue channels values: (<code>rgb(200, 100, 0)</code>)</li>
|
||||||
|
|
Loading…
Reference in New Issue