Read The Web Color Onscreen
Want to know the hexadecimal Web color values of any color in your image? The Info palette can tell you instantly. Go under the Window menu and choose Info. In the Info palette, click on the little Eyedropper icon next to the CMYK readout and a pop-up menu appears. Choose Web Color, and you’ll get the hexadecimal readouts right in the palette.