Live data from Hacker News

Show HN: Color Picker for iOS and Android developers

colorsforcoders.com

1–10 of 13 posts

Re: Show HN: Color Picker for iOS and Android developers

#4
post #3

Nice but HSLa would be a nice addition. I think we really should encourage the use of this format now that it is supported. The ability to shift saturation and brightness without impacting hue is really useful once it saves your butt a couple times.

Thanks for the feedback. I'll add HSLa as an option.

Re: Show HN: Color Picker for iOS and Android developers

#7
post #3

Nice but HSLa would be a nice addition. I think we really should encourage the use of this format now that it is supported. The ability to shift saturation and brightness without impacting hue is really useful once it saves your butt a couple times.

HSL and the likes are based on a simple cylindrical transformation of RGB. I would argue that we usually want perceptual uniformity, so I recommend cylindrical versions of CIELAB instead; just replace a* and b* with C* and h* , where a* = C* cos( h* ) and b* = C* sin( h* ).

Re: Show HN: Color Picker for iOS and Android developers

#9
Now that all Apple devices and computers can display DCI-P3 [1][2][3], you should expand this to support/include colors from that wider color gamut, and in Extended sRGB and 16-bit formats, especially since the preset examples start with red. :)

[1] https://en.wikipedia.org/wiki/DCI-P3

[2] https://webkit.org/blog/6682/improving-color-on-the-web/

[3] http://www.astramael.com

Post reply on HN