mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-28 22:08:54 -04:00
parent
28dec90a88
commit
47af603173
2 changed files with 38 additions and 30 deletions
|
@ -60,6 +60,9 @@ test('Creating Colors', function() {
|
|||
equals(new Color('red'), new Color(1, 0, 0),
|
||||
'Color from name (red)');
|
||||
|
||||
equals(new Color('transparent'), new Color(0, 0, 0, 0),
|
||||
'Color from name (transparent)');
|
||||
|
||||
equals(new Color('#ff0000'), new Color(1, 0, 0),
|
||||
'Color from hex string');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue