COLOR #D4D457

HEX: #D4D457
RGB: (212,212,87)

Color info

#D4D457 contains mainly red and green colors. Web safe color of #D4D457 is #CCCC66 (or #CC6).

RGB color model

#D4D457 color RGB value is (212,212,87).

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

RGB channels and saturation

R 212 of 255 = 83%
G 212 of 255 = 83%
B 87 of 255 = 34%

212
212
87

R + G + B ~ 67%. #D4D457 is quite light color.

Portions of RGB colors in percentages

R + G + B =
212 + 212 + 87 = 511 (100%)
R 212 of 511 ~ 41.49%
G 212 of 511 ~ 41.49%
B 87 of 511 ~ 17.03%

%41.49
%41.49
%17.03

CMYK color model

#D4D457 color CMYK value is (0,0,59,17).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 58.96%
  • key color value is 16.86%
CMYK:
(0,0,59,17)
C0M0Y59K17 
(0%,0%,59%,17%)
(0.00/0.00/0.59/0.17)	

CMYK percentages

%0
%0
%58.96
%16.86

Codes

Color #D4D457 in popluar color models

D4D457
RGB21221287
HSL60°59.24%58.63%
HSB/HSV60°58.96%83.14%
CMYK0.00%0.00%58.96%
16.86%

Color #D4D457 in popluar number systems.

HEXD4D457
Decimal21221287
Binary11010100110101001010111
Octal324324127

Shades and tints

Shades of #D4D457

#D4D457
(212,212,87)
#C1C150
(193,193,80)
#AEAE49
(174,174,73)
#9B9B42
(155,155,66)
#88883B
(136,136,59)
#757534
(117,117,52)
#62622D
(98,98,45)
#4F4F26
(79,79,38)
#3C3C1F
(60,60,31)
#292918
(41,41,24)
#161611
(22,22,17)
#000000
(0,0,0)

Tints of #D4D457

#D4D457
(212,212,87)
#D7D766
(215,215,102)
#DADA75
(218,218,117)
#DDDD84
(221,221,132)
#E0E093
(224,224,147)
#E3E3A2
(227,227,162)
#E6E6B1
(230,230,177)
#E9E9C0
(233,233,192)
#ECECCF
(236,236,207)
#EFEFDE
(239,239,222)
#F2F2ED
(242,242,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D4D457; }

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

This text font color is #D4D457.


Background Color

.myBgColor { background-color: #D4D457; }

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

This div background color is #D4D457.


Border color

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

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

This div border color is #D4D457.


Opacity

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

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

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

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

This text has shadow with #D4D457 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D4D457 on black background.


Color preview on white background

This text has color #D4D457 on white background.



Black color preview on #D4D457 background

This text has black color on #D4D457 background.


White color preview on #D4D457 background

This text has white color on #D4D457 background.