Name

Colors

Synopsis

Find the 8-bit hexadecimal value for a color from an image?

Open the image with Preview (/Applications) Launch DigitalColor Meter (/Applications/Utilities) select “RGB As Hex Value, 8-bit” from the pull-down menu move the mouse pointer over an area in the image Shift-

-H (for Hold Color) holds the RGB value in the application window

Copy an RGB color value from an image and paste it into an HTML document?

Open the image with Preview Launch DigitalColor Meter select “RGB A Hex Value, 8-bit” from the pull-down menu move the mouse pointer over an area in the image Shift-

-C (for Copy Color) switch to the text editor you’re using to edit the HTML page

-P to paste in the hex value (e.g., “#2C61B9”)

Get Mac OS X in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.