COLOR #CCC797

HEX: #CCC797
RGB: (204,199,151)

Color info

#CCC797 contains red, green and blue colors in about the same proportion. Web safe color of #CCC797 is #CCCC99 (or #CC9).

RGB color model

#CCC797 color RGB value is (204,199,151).

  • red value is 204;
  • green value is 199;
  • blue value is 151.
RGB:
(204,199,151)
(80%,78%,59%)

RGB channels and saturation

R 204 of 255 = 80%
G 199 of 255 = 78%
B 151 of 255 = 59%

204
199
151

R + G + B ~ 72%. #CCC797 is quite light color.

Portions of RGB colors in percentages

R + G + B =
204 + 199 + 151 = 554 (100%)
R 204 of 554 ~ 36.82%
G 199 of 554 ~ 35.92%
B 151 of 554 ~ 27.26%

%36.82
%35.92
%27.26

CMYK color model

#CCC797 color CMYK value is (0,2,26,20).

  • cyan value is 0.00%
  • magenta value is 2.45%
  • yellow value is 25.98%
  • key color value is 20.00%
CMYK:
(0,2,26,20)
C0M2Y26K20 
(0%,2%,26%,20%)
(0.00/0.02/0.26/0.20)	

CMYK percentages

%0
%2.45
%25.98
%20

Codes

Color #CCC797 in popluar color models

CCC797
RGB204199151
HSL54°34.19%69.61%
HSB/HSV54°25.98%80.00%
CMYK0.00%2.45%25.98%
20.00%

Color #CCC797 in popluar number systems.

HEXCCC797
Decimal204199151
Binary110011001100011110010111
Octal314307227

Shades and tints

Shades of #CCC797

#CCC797
(204,199,151)
#BAB58A
(186,181,138)
#A8A37D
(168,163,125)
#969170
(150,145,112)
#847F63
(132,127,99)
#726D56
(114,109,86)
#605B49
(96,91,73)
#4E493C
(78,73,60)
#3C372F
(60,55,47)
#2A2522
(42,37,34)
#181315
(24,19,21)
#000000
(0,0,0)

Tints of #CCC797

#CCC797
(204,199,151)
#D0CCA0
(208,204,160)
#D4D1A9
(212,209,169)
#D8D6B2
(216,214,178)
#DCDBBB
(220,219,187)
#E0E0C4
(224,224,196)
#E4E5CD
(228,229,205)
#E8EAD6
(232,234,214)
#ECEFDF
(236,239,223)
#F0F4E8
(240,244,232)
#F4F9F1
(244,249,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #CCC797 color. Also use rgb(204,199,151) instead hex code.

Text Font Color

.myTextColor { color: #CCC797; }

<p style="color:#CCC797">This sample text font color is #CCC797.</p>

This text font color is #CCC797.


Background Color

.myBgColor { background-color: #CCC797; }

<div style="background-color:#CCC797">Inner text</div>

This div background color is #CCC797.


Border color

.myBorderColor { border: 1px solid #CCC797; }

<div style="border:3px solid #CCC797">Div</div>

This div border color is #CCC797.


Opacity

.myOpacity80 { color: #CCC797; opacity: 0.8; }

<p style="color:#CCC797;opacity:0.8;">80%</p>

Text with #CCC797 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #CCC797;}

<p style="text-shadow: 3px 3px 1px #CCC797">Text here.</p>

This text has shadow with #CCC797 color.

.textShadow {text-shadow: 3px 3px 1px #CCC797, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #CCC797, 5px 5px 20px red">Text here.</p>

This text has shadow with #CCC797 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCC797, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#CCC797, Direction=45, Strength=4)">Text</p>

This text has shadow with #CCC797 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #CCC797;
  -webkit-box-shadow:	1px 1px 3px 2px #CCC797;
  box-shadow:		1px 1px 3px 2px #CCC797;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #CCC797;
-webkit-box-shadow: 1px 1px 3px 2px #CCC797;
box-shadow:1px 1px 3px 2px #CCC797;">
Div content here</div>
This div box has shadow with color #CCC797.

Preview

Color preview on black background

This text has color #CCC797 on black background.


Color preview on white background

This text has color #CCC797 on white background.



Black color preview on #CCC797 background

This text has black color on #CCC797 background.


White color preview on #CCC797 background

This text has white color on #CCC797 background.