COLOR #CAC908

HEX: #CAC908
RGB: (202,201,8)

Color info

#CAC908 contains mainly red and green colors. Web safe color of #CAC908 is #CCCC00 (or #CC0).

RGB color model

#CAC908 color RGB value is (202,201,8).

  • red value is 202;
  • green value is 201;
  • blue value is 8.
RGB:
(202,201,8)
(79%,79%,3%)

RGB channels and saturation

R 202 of 255 = 79%
G 201 of 255 = 79%
B 8 of 255 = 3%

202
201
8

R + G + B ~ 54%. #CAC908 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
202 + 201 + 8 = 411 (100%)
R 202 of 411 ~ 49.15%
G 201 of 411 ~ 48.91%
B 8 of 411 ~ 1.95%

%49.15
%48.91

CMYK color model

#CAC908 color CMYK value is (0,0,96,21).

  • cyan value is 0.00%
  • magenta value is 0.50%
  • yellow value is 96.04%
  • key color value is 20.78%
CMYK:
(0,0,96,21)
C0M0Y96K21 
(0%,0%,96%,21%)
(0.00/0.00/0.96/0.21)	

CMYK percentages

%0
%0.5
%96.04
%20.78

Codes

Color #CAC908 in popluar color models

CAC908
RGB2022018
HSL60°92.38%41.18%
HSB/HSV60°96.04%79.22%
CMYK0.00%0.50%96.04%
20.78%

Color #CAC908 in popluar number systems.

HEXCAC908
Decimal2022018
Binary11001010110010011000
Octal31231110

Shades and tints

Shades of #CAC908

#CAC908
(202,201,8)
#B8B708
(184,183,8)
#A6A508
(166,165,8)
#949308
(148,147,8)
#828108
(130,129,8)
#706F08
(112,111,8)
#5E5D08
(94,93,8)
#4C4B08
(76,75,8)
#3A3908
(58,57,8)
#282708
(40,39,8)
#161508
(22,21,8)
#000000
(0,0,0)

Tints of #CAC908

#CAC908
(202,201,8)
#CECD1E
(206,205,30)
#D2D134
(210,209,52)
#D6D54A
(214,213,74)
#DAD960
(218,217,96)
#DEDD76
(222,221,118)
#E2E18C
(226,225,140)
#E6E5A2
(230,229,162)
#EAE9B8
(234,233,184)
#EEEDCE
(238,237,206)
#F2F1E4
(242,241,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #CAC908 color. Also use rgb(202,201,8) instead hex code.

Text Font Color

.myTextColor { color: #CAC908; }

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

This text font color is #CAC908.


Background Color

.myBgColor { background-color: #CAC908; }

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

This div background color is #CAC908.


Border color

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

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

This div border color is #CAC908.


Opacity

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

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

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

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

This text has shadow with #CAC908 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #CAC908 on black background.


Color preview on white background

This text has color #CAC908 on white background.



Black color preview on #CAC908 background

This text has black color on #CAC908 background.


White color preview on #CAC908 background

This text has white color on #CAC908 background.