Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Milestone
Description
Feature suggestion
In#9985 a small utility was proposed to brighten or darken a matplotlib color. The utility converted to RGB, to HLS, manipulated the L (lightness) channel, and converted back to RGB.
There was general disagreement about how exactly to do the brightening, (fractional: L*(1+frac), absolute: L + dL, or simply specifying L), the lack of argb_to_hls
converter was lamented (to mirror thergb_to_hsv
converter, and it was suggested that a color class that simply had methods to change channels in the various color spaces would be the better approach.
Writing such a class was beyond the scope proposed in#9985, hence this issue for discussion. I'd imagine such acolor
class would require a MEP.