hxf31891 / react-gradient-color-picker

An easy to use color/gradient picker for React.js
MIT License
147 stars 49 forks source link

Support HEXA #62

Open fstarlike opened 1 year ago

fstarlike commented 1 year ago

Hi.

It's important that this tool supports the HEXA color values. Please add this feature ASAP.

Best.

hxf31891 commented 10 months ago

@fstarlike I cant find any information on that color format. Can please attach some documentation here.

JoniRinta-Kahila commented 9 months ago

@fstarlike seems to be referring to the 8-digit hex notation, which can be used to determine the opacity of a color in HEX notation.

For example, blue color without Alpha channel: #0000FF Blue color preview

And with Alpha: #0000FF80 Blue color preview with opacity

https://drafts.csswg.org/css-color/#hex-notation