css-color-parser-cpp icon indicating copy to clipboard operation
css-color-parser-cpp copied to clipboard

more CSS Color syntax variants

Open Crissov opened this issue 6 years ago • 1 comments

  • percentage values for RGB
  • percentage for alpha, <alpha-value> = <number> | <percentage>
  • explicit angle units for hue, <hue> = <number> | <angle>
  • RGB and HSL notation with alpha value but without a in function name
  • RGB and HSL notation without commas (and with slash preceding optional alpha value), CSS Color level 4
  • 4-digit and 8-digit hexadecimal RGB codes
  • transparent is a transparent black
  • some case insensitivity tests

Crissov avatar Apr 24 '19 09:04 Crissov

@kkaefer I know this is an old repo, but you merge this one? 😇

louwers avatar May 24 '24 11:05 louwers