COLOR #CCCC97

HEX: #CCCC97
RGB: (204,204,151)

Color info

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

RGB color model

#CCCC97 color RGB value is (204,204,151).

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

RGB channels and saturation

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

204
204
151

R + G + B ~ 73%. #CCCC97 is quite light color.

Portions of RGB colors in percentages

R + G + B =
204 + 204 + 151 = 559 (100%)
R 204 of 559 ~ 36.49%
G 204 of 559 ~ 36.49%
B 151 of 559 ~ 27.01%

%36.49
%36.49
%27.01

CMYK color model

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

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

CMYK percentages

%0
%0
%25.98
%20

Codes

Color #CCCC97 in popluar color models

CCCC97
RGB204204151
HSL60°34.19%69.61%
HSB/HSV60°25.98%80.00%
CMYK0.00%0.00%25.98%
20.00%

Color #CCCC97 in popluar number systems.

HEXCCCC97
Decimal204204151
Binary110011001100110010010111
Octal314314227

Shades and tints

Shades of #CCCC97

#CCCC97
(204,204,151)
#BABA8A
(186,186,138)
#A8A87D
(168,168,125)
#969670
(150,150,112)
#848463
(132,132,99)
#727256
(114,114,86)
#606049
(96,96,73)
#4E4E3C
(78,78,60)
#3C3C2F
(60,60,47)
#2A2A22
(42,42,34)
#181815
(24,24,21)
#000000
(0,0,0)

Tints of #CCCC97

#CCCC97
(204,204,151)
#D0D0A0
(208,208,160)
#D4D4A9
(212,212,169)
#D8D8B2
(216,216,178)
#DCDCBB
(220,220,187)
#E0E0C4
(224,224,196)
#E4E4CD
(228,228,205)
#E8E8D6
(232,232,214)
#ECECDF
(236,236,223)
#F0F0E8
(240,240,232)
#F4F4F1
(244,244,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #CCCC97; }

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

This text font color is #CCCC97.


Background Color

.myBgColor { background-color: #CCCC97; }

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

This div background color is #CCCC97.


Border color

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

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

This div border color is #CCCC97.


Opacity

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

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

Text with #CCCC97 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 #CCCC97;}

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

This text has shadow with #CCCC97 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #CCCC97 on black background.


Color preview on white background

This text has color #CCCC97 on white background.



Black color preview on #CCCC97 background

This text has black color on #CCCC97 background.


White color preview on #CCCC97 background

This text has white color on #CCCC97 background.