Skip to content

more CSS Color syntax variants #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Crissov
Copy link

@Crissov Crissov commented Apr 24, 2019

  • 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

- percentage values for RGB
- percentage for [alpha](https://drafts.csswg.org/css-color/#typedef-alpha-value), `<alpha-value> = <number> | <percentage>`
- explicit angle units for [hue](https://drafts.csswg.org/css-color/#typedef-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](https://drafts.csswg.org/css-color/#rgb-functions)
- 4-digit and 8-digit [hexadecimal RGB codes](https://drafts.csswg.org/css-color/#hex-notation)
- `transparent` is a [transparent black](https://drafts.csswg.org/css-color/#transparent-color)
- some case insensitivity tests
@louwers
Copy link

louwers commented May 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants