user13935: I'm creating a video using After Effects CC 2015 for use it on a website.
The background of the page on the site is #607D8B, so the first thing I did was create a solid with that color, and the color was right, however when I rendered, the color changed to #6e8995.
What are the settings I need to do to avoid this problem? I exported using Adobe Media Encoder and the standard H264.  
Thank you.

user1871: Sounds like a color space / range flag or rendering issue. Quickest way to resolve this is to take a short screencast i.e. video capture of the page. Load that into After Effects and pick that color. You can't take a screnshot. It has to be a video. OBS, ffmpeg, VLC, Screenflow, Camtasia..etc can all screen-record.

user4426: As Mulvya says - it sounds like a color space export issue..
See this previous answer - Color shift after exporting!
I think this could be to do with "color space". I've had similar issues with exporting videos from After Effects. Exporting using "REC 709" Color space usually gives me the colours I expect. You can read more about how Adobe handle different Color spaces here:
http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/aftereffects/articles/color_management_workflow/ae_color_mgmt_wkflow.pdf

13935: <p>I'm creating a video using After Effects CC 2015 for use it on a website.<br>
The background of the page on the site is <code>#607D8B</code>, so the first thing I did was create a solid with that color, and the color was right, however when I rendered, the color changed to <code>#6e8995</code>.<br>
What are the settings I need to do to avoid this problem? I exported using Adobe Media Encoder and the standard H264.  </p>

<p>Thank you.</p>
 1871: <p>Sounds like a color space / range flag or rendering issue. Quickest way to resolve this is to take a short screencast i.e. video capture of the page. Load that into After Effects and pick that color. You can't take a screnshot. It has to be a video. OBS, ffmpeg, VLC, Screenflow, Camtasia..etc can all screen-record.</p>
 4426: <p>As Mulvya says - it sounds like a color space export issue..</p>

<p>See this previous answer - <a href="https://video.stackexchange.com/questions/13174/color-shift-after-exporting/13192#13192">Color shift after exporting!</a></p>

<p>I think this could be to do with "color space". I've had similar issues with exporting videos from After Effects. Exporting using "REC 709" Color space usually gives me the colours I expect. You can read more about how Adobe handle different Color spaces here:</p>

<p><a href="http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/aftereffects/articles/color_management_workflow/ae_color_mgmt_wkflow.pdf" rel="nofollow noreferrer">http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/aftereffects/articles/color_management_workflow/ae_color_mgmt_wkflow.pdf</a></p>
