COLOR #D4D42E

HEX: #D4D42E
RGB: (212,212,46)

Color info

#D4D42E contains mainly red and green colors. Web safe color of #D4D42E is #CCCC33 (or #CC3).

RGB color model

#D4D42E color RGB value is (212,212,46).

  • red value is 212;
  • green value is 212;
  • blue value is 46.
RGB:
(212,212,46)
(83%,83%,18%)

RGB channels and saturation

R 212 of 255 = 83%
G 212 of 255 = 83%
B 46 of 255 = 18%

212
212
46

R + G + B ~ 61%. #D4D42E is quite light color.

Portions of RGB colors in percentages

R + G + B =
212 + 212 + 46 = 470 (100%)
R 212 of 470 ~ 45.11%
G 212 of 470 ~ 45.11%
B 46 of 470 ~ 9.79%

%45.11
%45.11
%9.79

CMYK color model

#D4D42E color CMYK value is (0,0,78,17).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 78.30%
  • key color value is 16.86%
CMYK:
(0,0,78,17)
C0M0Y78K17 
(0%,0%,78%,17%)
(0.00/0.00/0.78/0.17)	

CMYK percentages

%0
%0
%78.3
%16.86

Codes

Color #D4D42E in popluar color models

D4D42E
RGB21221246
HSL60°65.87%50.59%
HSB/HSV60°78.30%83.14%
CMYK0.00%0.00%78.30%
16.86%

Color #D4D42E in popluar number systems.

HEXD4D42E
Decimal21221246
Binary1101010011010100101110
Octal32432456

Shades and tints

Shades of #D4D42E

#D4D42E
(212,212,46)
#C1C12A
(193,193,42)
#AEAE26
(174,174,38)
#9B9B22
(155,155,34)
#88881E
(136,136,30)
#75751A
(117,117,26)
#626216
(98,98,22)
#4F4F12
(79,79,18)
#3C3C0E
(60,60,14)
#29290A
(41,41,10)
#161606
(22,22,6)
#000000
(0,0,0)

Tints of #D4D42E

#D4D42E
(212,212,46)
#D7D741
(215,215,65)
#DADA54
(218,218,84)
#DDDD67
(221,221,103)
#E0E07A
(224,224,122)
#E3E38D
(227,227,141)
#E6E6A0
(230,230,160)
#E9E9B3
(233,233,179)
#ECECC6
(236,236,198)
#EFEFD9
(239,239,217)
#F2F2EC
(242,242,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D4D42E color. Also use rgb(212,212,46) instead hex code.

Text Font Color

.myTextColor { color: #D4D42E; }

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

This text font color is #D4D42E.


Background Color

.myBgColor { background-color: #D4D42E; }

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

This div background color is #D4D42E.


Border color

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

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

This div border color is #D4D42E.


Opacity

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

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

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

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

This text has shadow with #D4D42E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D4D42E on black background.


Color preview on white background

This text has color #D4D42E on white background.



Black color preview on #D4D42E background

This text has black color on #D4D42E background.


White color preview on #D4D42E background

This text has white color on #D4D42E background.