This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Keith Lang
Posted Apr 20 - Read on Facebook

Feature request: Support for HSB color (in addition to HSL). Designer-y stuff often shows HSB color picker (which I'm emulating)

2 Comments

Benjamin Den Boer

Hey Keith Lang — hmm, you can probably find some RGB to HSV/HSB conversion methods online, which you can implement to work with our color class. Perhaps you can include one of these as a module for your project.

Ah, there's one in here, for example:
http://stackoverflow.com/questions/17242144/javascript-convert-hsb-hsv-color-to-rgb-accurately

Keith Lang

Thanks Benjamin! Yes, I did take this path, although it took me some time to debug. Although, please do consider it…
Because 1. Framer otherwise goes to great efforts to support color.
2. HSB (not HSL) is used by the default Apple picker as well as popular third parties like Sketch... IMO a more intuitive color model than HSL.

Read the entire post on Facebook