Closed bangseongbeom closed 8 years ago
Hey, @bangseongbeom, my PR should fix this issue, but pay attention to your syntax:
.absolute-hue {
color: color(hsl(120, 50%, 50%) hue(-120)); /* results in hsl(240, 50%, 50%) */
}
.relative-hue {
color: color(hsl(120, 50%, 50%) hue(- 120)); /* results in hsl(0, 50%, 50%) */
}
Or as specs say:
Note: While scaling can be specified without any spaces, like
lightness(*150%)
, adding/subtracting must be done with spaces after the +/-, or else the +/- will be interpreted as part of the number by the CSS parser.
Closed. See #22
Can not calculate hue under 0 over 360. The CSS color draft says:
In this sentence we can infer that numbers under 0 over 360 are allowed.
Input:
Expected:
Real: