tylergaw / colorme

Visualize CSS Color Functions?
https://colorme.io
MIT License
316 stars 14 forks source link

Adds red, green, and blue adjusters #7

Closed tylergaw closed 7 years ago

tylergaw commented 7 years ago

fixes #2

This PR adds support for the individual red, green, and blue adjusters. They operate directly on each channel.

Because we know the starting r, g, and b values we do not use a unit. This means:

If there is no operator, the given channel is set to the given value.

css-color/#rgba-adjusters

tylergaw commented 7 years ago

I let this simmer over night. Kicked it around a bit more in prod, still working as expected. Merging.