EDIT Snap.getRGB
parent
2961192d83
commit
16f10bb566
|
@ -617,7 +617,7 @@ Snap.Matrix = Matrix;
|
||||||
[ method ]
|
[ method ]
|
||||||
**
|
**
|
||||||
* Parses colour string as RGB object
|
* Parses colour string as RGB object
|
||||||
- colour (string) colour string in one of formats:
|
- colour (string) colour string in one of the following formats:
|
||||||
# <ul>
|
# <ul>
|
||||||
# <li>Colour name (“<code>red</code>”, “<code>green</code>”, “<code>cornflowerblue</code>”, etc)</li>
|
# <li>Colour name (“<code>red</code>”, “<code>green</code>”, “<code>cornflowerblue</code>”, etc)</li>
|
||||||
# <li>#••• — shortened HTML colour: (“<code>#000</code>”, “<code>#fc0</code>”, etc)</li>
|
# <li>#••• — shortened HTML colour: (“<code>#000</code>”, “<code>#fc0</code>”, etc)</li>
|
||||||
|
|
Loading…
Reference in New Issue