Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Tests completed in 19 milliseconds.
14 assertions of 14 passed, 0 failed.
- Alpha handling: toString() with alpha set (0, 14, 14)Rerun1 ms
- getFormat() is correct
- getFormat() is correct
- Names should default to rgba if alpha is < 1
- Hex should default to rgba if alpha is < 1
- Names should not be returned as rgba if format is specified
- Names should not be returned as rgba if format is specified
- Names should not be returned as rgba if format is specified
- Names should not be returned as rgba if format is specified
- Names should not be returned as rgba if format is specified
- Semi transparent names should return hex in toString() if name format is specified
- Semi transparent names should be false in toName()
- Hex should default to rgba if alpha is < 1
- Named color should equal transparent if alpha == 0
- Hex should default to rgba if alpha is = 0
test markup, will be hidden