Issue with colorspaces in Inkscape.

Post questions on how to use or achieve an effect in Inkscape.
Blue Streak

Issue with colorspaces in Inkscape.

Postby Blue Streak » Mon May 19, 2008 5:53 am

Hi folks. I'm trying to make an image that must be limited to a certain number of colors and so I'm drawing gradients manually with a limited number of shades. I'm using the HSL colorspace because brightness gradients are easiest to draw in this space since I can keep hue and saturation fixed and just vary the luminosity. However, I need to use this image for something later that measures the number of colors in RGB space. It seems that Inkscape somehow computes slightly different RGB values each time I use the same set of HSL values. This seems to be random to me and I end up with perhaps three slightly different RGB colors for one HSL color. This is not acceptable for what I need to use the image for later. Is the conversion between HSL and RGB not supposed to be one-to-one? And if this is unfortunately the case, can I somehow work around this without resorting to drawing brightness gradients in the more difficult RGB colorspace? Thanks for the insight.

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Issue with colorspaces in Inkscape.

Postby microUgly » Mon May 19, 2008 9:02 am

Can you provide an example in an SVG file? With some quick fiddling I wasn't able to reproduce what you're describing--I may not have been persistent enough.


Return to “Help with using Inkscape”