01-08-2013 01:56 AM
I need to create different color codes ( like 10, 20 or even more colors depending on number of parameters). i.e for n number of parameters i should have n different colors.
At the moment in this example i have only 4 color codes ( 1,0,0;0,1,0;0,0,1;1,0,1)
Is there a way to generate color codes automatically?? Or any other ideas??
Thanks
Solved! Go to Solution.
01-08-2013 03:20 AM
01-08-2013 03:34 AM
01-08-2013 03:43 AM
Beside color blindness problems:
You could create your colors using the HSV color model. It's more easy to create different colors using this model instead of the "standard" RGB color model!
- You simply need to change hue values (with constant saturation and value)...
- When you need a lot more colors you could also change the saturation to get shades of colors.
All information needed is found on Wikipedia...
01-08-2013 03:56 AM
Thankyou all for your reply.
Freelance_LV solution is perfect for my application. What i need was just to use these generated colors as legends for a plot.
Ya of course some values for color multiplier in Freelance_LV VI may cause real problem in distingsuishing the colors. I tried to use HSV.But making the saturation and lightness values constant makes it generate just a single color. And I find it difficult to choose a good constant value for both.
01-08-2013 04:02 AM
01-09-2013 02:04 AM
Do you mean using HSL bitman like this?
But there is no change in color value. See attachment
01-09-2013 02:12 AM
01-09-2013 05:46 AM
sorry. I placed them from function palette.Here are the subvis
01-09-2013 05:52 AM