if (do_name() != 'Home') : ?>
endif ?>
Posted by Rit Mishra on Nov 6, 2006
include("util/comment.php"); ?>
Picking right colour in NODEBOX
Posted by Rit Mishra on Nov 4, 2006
Picking right colors for fill() is not very clear to me. As in Processing, I can simply to go photoshop, pick the colour and I can find the right value of RGB, HSB or CMYK. (255, 12, 23) etc. But in nodebox I am not been able to find the value of HSB in between 0.0 to 1.0.
Is there any colour pallete which I can refer to find the right values for HSB, RGB, CMYK.
Thanks in advance.
Posted by Rit Mishra on Nov 6, 2006
Thanks a lot, Tom. It worked really well and thanks for your support.
Your descriptive reply left no room for confusion.
Many thanks.
Looking forward to the next release of NODEBOX. ?
Posted by Tom De Smedt on Nov 6, 2006
By default, color values in NodeBox range between 0.0 and 1.0. This is a percentual value: 0.0 means 0%, 0.5 means 50% and 1.0 means 100%. So an RGB color with values 1.0, 0.0, 0.0 means 100% red and no green and no blue, which is the same as 255 0 0.
If you prefer working with values that range between 0-255 instead of 0.0-1.0, you can use the colormode() command.
For example, setting the colormode(CMYK, 100) tells NodeBox you will be supplying colors in CMYK values ranging between 0-100. Setting colormode(RGB, 255) you can map color values between 0-255 directly from PhotoShop.
Beware that right now some colors (like the infamous "NodeBox black") will not display correctly due to a complex color profile issue.