/ Published in: AppleScript
                    
                                        
Stolen from  stetho -- All thanks to AppleScript to convert CMYK to RGB values http://bit.ly/eP2mXS
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
on cmykrgb(c, m, y, k)
set r to 255 - (round (2.55 * (c + k)))
set g to 255 - (round (2.55 * (m + k)))
set b to 255 - (round (2.55 * (y + k)))
if (r < 0) then set r to 0
if (g < 0) then set g to 0
if (b < 0) then set b to 0
return {r, g, b}
end cmykrgb
URL: http://bit.ly/eP2mXS
Comments
 Subscribe to comments
                    Subscribe to comments
                
                