Applications/Utilities
,
as a color picker. When you move the mouse pointer over the
area containing the color you wish to identify, you will see the
color displayed within a box in the Digital Color Meter and codes
identifying the color. E.g., for the instance below, the color is
a light gray with the L*a*b*
lab color space values of 88.05, 1.53, and -1.16.
You can select other color standards, e.g., the RGB color model (red, green, blue) from the dropdown display list. The options are as follows:
E.g., Generic RBB:
If you wish to use the color in the HTML code for a webpage, you can
use rgb(red,green,blue)
, substituting the
given numbers for the respective rgb values, e.g.:
<span style="background-color: rgb(231,231,231)">A test</span>
I've found that selecting "Display in sRGB" for the color standard
in the Digital Color Meter when I use the application on my MacBook Pro
laptop gives RGB values that more closely match the color I've selected
in a window on the laptop with the Digital Color Meter to the color
that will be displayed in a webpage when I use rgb(r,g,b)
to set the color of an element on a web page to match the color used in
the window on the laptop. The sRGB standard for
RGB
color space was created by Microsoft Corporation and
HP
in 1996 to be used for monitors, printers, and the Internet.
If you wish to convert the values to the hexadecimal color codes commonly used to specify colors on web pages, you can obtain the equivalent HTML colors by using an RGB to Hex Value Calculator