COLOR #D8DA42

HEX: #D8DA42
RGB: (216,218,66)

Color info

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

RGB color model

#D8DA42 color RGB value is (216,218,66).

  • red value is 216;
  • green value is 218;
  • blue value is 66.
RGB:
(216,218,66)
(85%,85%,26%)

RGB channels and saturation

R 216 of 255 = 85%
G 218 of 255 = 85%
B 66 of 255 = 26%

216
218
66

R + G + B ~ 65%. #D8DA42 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 218 + 66 = 500 (100%)
R 216 of 500 ~ 43.2%
G 218 of 500 ~ 43.6%
B 66 of 500 ~ 13.2%

%43.2
%43.6
%13.2

CMYK color model

#D8DA42 color CMYK value is (1,0,70,15).

  • cyan value is 0.92%
  • magenta value is 0.00%
  • yellow value is 69.72%
  • key color value is 14.51%
CMYK:
(1,0,70,15)
C1M0Y70K15 
(1%,0%,70%,15%)
(0.01/0.00/0.70/0.15)	

CMYK percentages

%0.92
%0
%69.72
%14.51

Codes

Color #D8DA42 in popluar color models

D8DA42
RGB21621866
HSL61°67.26%55.69%
HSB/HSV61°69.72%85.49%
CMYK0.92%0.00%69.72%
14.51%

Color #D8DA42 in popluar number systems.

HEXD8DA42
Decimal21621866
Binary11011000110110101000010
Octal330332102

Shades and tints

Shades of #D8DA42

#D8DA42
(216,218,66)
#C5C73C
(197,199,60)
#B2B436
(178,180,54)
#9FA130
(159,161,48)
#8C8E2A
(140,142,42)
#797B24
(121,123,36)
#66681E
(102,104,30)
#535518
(83,85,24)
#404212
(64,66,18)
#2D2F0C
(45,47,12)
#1A1C06
(26,28,6)
#000000
(0,0,0)

Tints of #D8DA42

#D8DA42
(216,218,66)
#DBDD53
(219,221,83)
#DEE064
(222,224,100)
#E1E375
(225,227,117)
#E4E686
(228,230,134)
#E7E997
(231,233,151)
#EAECA8
(234,236,168)
#EDEFB9
(237,239,185)
#F0F2CA
(240,242,202)
#F3F5DB
(243,245,219)
#F6F8EC
(246,248,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8DA42 color. Also use rgb(216,218,66) instead hex code.

Text Font Color

.myTextColor { color: #D8DA42; }

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

This text font color is #D8DA42.


Background Color

.myBgColor { background-color: #D8DA42; }

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

This div background color is #D8DA42.


Border color

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

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

This div border color is #D8DA42.


Opacity

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

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

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

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

This text has shadow with #D8DA42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8DA42 on black background.


Color preview on white background

This text has color #D8DA42 on white background.



Black color preview on #D8DA42 background

This text has black color on #D8DA42 background.


White color preview on #D8DA42 background

This text has white color on #D8DA42 background.