Skip to content

Instantly share code, notes, and snippets.

@shengslogar
Created August 29, 2020 07:14
Show Gist options
  • Save shengslogar/07280e6ae31de8be3f805c8c269fd99b to your computer and use it in GitHub Desktop.
Save shengslogar/07280e6ae31de8be3f805c8c269fd99b to your computer and use it in GitHub Desktop.
Images on the Web

Images on the Web

Browsers

Firefox and Safari both render colors using sRGB. Chrome isn't consistent. This can be forced through chrome://flags/#force-color-profile and selecting sRGB.

Photoshop

When designing images, use View > Proof Setup > Monitor RGB for an accurate rendering, ensure Edit > Color Settings is on "North America General Purpose 2", and export images by ticking "Convert to sRGB" and deselecting "Embed Color Profile" (Chrome does not support image profiles).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment