I'm trying to copy a particular layer out of a Photoshop document into its own new document and export it for use on the web. I'm doing this by right-clicking the layer in the layers palette, choosing 'Select pixels', copying to the clipboard, creating a new document with the default size (based on clipboard contents), and pasting.
This works, but causes the colors in the copied image to change. As an example, a gray divider image goes from
#b0adad (I'm getting the colors in the source and destination image by using the eyedropper tool).
The color modes of the source and destination images are the same (RGB 8-bit), and when creating the new document, I'm accepting the default Color Profile of 'sRGB IEC61966-2.1'. I'm using Photoshop CS5 on a Mac.
Anyone know how I can extract a layer from my image without incurring a color shift?