mapbox / react-colorpickr

A themeable colorpicker with HSL and RGB support for React

Home Page:https://labs.mapbox.com/react-colorpickr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add hex code

aparlato opened this issue · comments

I think the minor addition of the hex code might make some workflows easier.

When designing maps we often go back and forth between Studio and some other program like Illustrator. Illustrator to Studio we can copy a hex code, but once we edit this it becomes hsl or rgb and to return that adjusted color to Illustrator we need to either copy over the individual rgb values or screenshot and use the eyedropper tool.

Displaying a hex code somewhere may make it a little easier to do this back and forth.

image

@aparlato react-colorpickr does indeed support hex codes: see the example at https://www.mapbox.com/react-colorpickr/.