Const
This is used to detect a specific color model string via regular expression, normalize the values to be within 0..1 for percentages and RGB, and 0..360 for angles.
Each detector has a list of responsibilities:
'0.5turn'
180
'255'
1
255
'ff'
Generated using TypeDoc
This is used to detect a specific color model string via regular expression, normalize the values to be within 0..1 for percentages and RGB, and 0..360 for angles.
Remarks
Each detector has a list of responsibilities:
'0.5turn'will become180;'255'will become1)1might become255or'ff')