Granularity of HSL values (8-bit vs. 360/100/100)

Asked by Duggeek

The methods for setting a color are nicely varied; RGB values, HSL ("HSV" elsewhere), CMYK, the Gtk "color wheel" and even named definitions.

HSL is always my favorite; it lets me generate simple color-schemes and, to me, is the most functional of color selection methods. However, your implementation of HSL is very awkward to me.

The HSL selection sliders are coded to 8-bit (1 byte) values, or a range of 0-255. That makes sense for RGB mode, since colors in the web gamut are essentially three-byte values, but that shouldn't be the same for HSL. CMYK is properly ranged; using 1 through 100 for each value. (basically, each is a percentage)

Shouldn't HSL be a hybrid of value-ranges, not just a group of 8-bit registers?

My suggestion would be consistent with professional (including closed-source) tools; using a range of 1-360 for Hue (natural numbers; "degrees" on the color wheel and mathematically significant to color theory), where Saturation and "Lightness" (or Value) can be percentage (1-100) ranges, possibly sub-ranged to one decimal place. (0.1 to 100.0) Alpha can remain as an 8-bit register, since that ties into consistency with the other color-selection modes and your "RGBA" scheme.

As it stands, I believe this is a tremendous hurdle to overcome in making Inkscape a viable open-source tool for hobbyists and professionals alike. Of course, using the 360-degree range for Hue would also mean subscribing to the tenets of color theory and using precise standards of colormetrics, profile-matching and gamuts. (not only having "360" point to Pure Red, but also how to align equidistant points; additive model recommends 120 degrees is Pure Green, and 240 degrees is Pure Indigo-Blue) Since the preferences already ask for selections on Perceptual/Absolute/Relative colormetrics, I would think that the foundation is already in-place, no?

I know this is no small request, but as a designer it becomes an important aspect. In selecting a tool, this would be akin to whether I pick-up a Pantone-matched Letraset marker to do my work, or just pick up a Sharpie.

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Duggeek
Solved:
Last query:
Last reply:
Revision history for this message
sas (sas-sas) said :
#1

This appears to be a feature request rather than question. Feature requests should be submitted as bug reports (even though they aren't bugs). If you want to do this, there's a "Create bug report" link above the message box on this page.

Revision history for this message
Duggeek (duggeek) said :
#2

Thank you. I would consider it a bug, since it appears that Inkscape has been neglecting the tenets of established color theory in this way.

Submitted as bug report and linked.