c...@l-i-e.com wrote:
> Short Answer:
> 
> You can't.
> :-)
> 
> http://en.wikipedia.org/wiki/CMYK
> 
> Long Answer:
> You probably can, but not in some way that makes sense to discuss here on 
> PHP-general.
> 
> The external links in the above article should get you started.
> 

May not always come out with the best colors, but the rough formula is:

Black   = minimum(1-Red,1-Green,1-Blue)
Cyan    = (1-Red-Black)/(1-Black)
Magenta = (1-Green-Black)/(1-Black)
Yellow  = (1-Blue-Black)/(1-Black)

Write your own little functions to convert.

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to