Choose color

Hi All,

Does anyone know how to convert the result of choose color, RGB values that are five digits long, into the three digit values (0-255) expected by Photoshop?

Thanks,
Matt

Hi Matt,

Divide by 256 and then round down.

Best wishes

John M

set theColor to choose color
tell theColor to set color8Bit to {(item 1) div 256, (item 2) div 256, (item 3) div 256}

Thanks for the help.

Matt