COLOR #D5CC12

HEX: #D5CC12
RGB: (213,204,18)

Color info

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

RGB color model

#D5CC12 color RGB value is (213,204,18).

  • red value is 213;
  • green value is 204;
  • blue value is 18.
RGB:
(213,204,18)
(84%,80%,7%)

RGB channels and saturation

R 213 of 255 = 84%
G 204 of 255 = 80%
B 18 of 255 = 7%

213
204
18

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

Portions of RGB colors in percentages

R + G + B =
213 + 204 + 18 = 435 (100%)
R 213 of 435 ~ 48.97%
G 204 of 435 ~ 46.9%
B 18 of 435 ~ 4.14%

%48.97
%46.9

CMYK color model

#D5CC12 color CMYK value is (0,4,92,16).

  • cyan value is 0.00%
  • magenta value is 4.23%
  • yellow value is 91.55%
  • key color value is 16.47%
CMYK:
(0,4,92,16)
C0M4Y92K16 
(0%,4%,92%,16%)
(0.00/0.04/0.92/0.16)	

CMYK percentages

%0
%4.23
%91.55
%16.47

Codes

Color #D5CC12 in popluar color models

D5CC12
RGB21320418
HSL57°84.42%45.29%
HSB/HSV57°91.55%83.53%
CMYK0.00%4.23%91.55%
16.47%

Color #D5CC12 in popluar number systems.

HEXD5CC12
Decimal21320418
Binary110101011100110010010
Octal32531422

Shades and tints

Shades of #D5CC12

#D5CC12
(213,204,18)
#C2BA11
(194,186,17)
#AFA810
(175,168,16)
#9C960F
(156,150,15)
#89840E
(137,132,14)
#76720D
(118,114,13)
#63600C
(99,96,12)
#504E0B
(80,78,11)
#3D3C0A
(61,60,10)
#2A2A09
(42,42,9)
#171808
(23,24,8)
#000000
(0,0,0)

Tints of #D5CC12

#D5CC12
(213,204,18)
#D8D027
(216,208,39)
#DBD43C
(219,212,60)
#DED851
(222,216,81)
#E1DC66
(225,220,102)
#E4E07B
(228,224,123)
#E7E490
(231,228,144)
#EAE8A5
(234,232,165)
#EDECBA
(237,236,186)
#F0F0CF
(240,240,207)
#F3F4E4
(243,244,228)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D5CC12; }

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

This text font color is #D5CC12.


Background Color

.myBgColor { background-color: #D5CC12; }

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

This div background color is #D5CC12.


Border color

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

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

This div border color is #D5CC12.


Opacity

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

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

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

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

This text has shadow with #D5CC12 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D5CC12 on black background.


Color preview on white background

This text has color #D5CC12 on white background.



Black color preview on #D5CC12 background

This text has black color on #D5CC12 background.


White color preview on #D5CC12 background

This text has white color on #D5CC12 background.