COLOR #D8DC0D

HEX: #D8DC0D
RGB: (216,220,13)

Color info

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

RGB color model

#D8DC0D color RGB value is (216,220,13).

  • red value is 216;
  • green value is 220;
  • blue value is 13.
RGB:
(216,220,13)
(85%,86%,5%)

RGB channels and saturation

R 216 of 255 = 85%
G 220 of 255 = 86%
B 13 of 255 = 5%

216
220
13

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

Portions of RGB colors in percentages

R + G + B =
216 + 220 + 13 = 449 (100%)
R 216 of 449 ~ 48.11%
G 220 of 449 ~ 49%
B 13 of 449 ~ 2.9%

%48.11
%49

CMYK color model

#D8DC0D color CMYK value is (2,0,94,14).

  • cyan value is 1.82%
  • magenta value is 0.00%
  • yellow value is 94.09%
  • key color value is 13.73%
CMYK:
(2,0,94,14)
C2M0Y94K14 
(2%,0%,94%,14%)
(0.02/0.00/0.94/0.14)	

CMYK percentages

%1.82
%0
%94.09
%13.73

Codes

Color #D8DC0D in popluar color models

D8DC0D
RGB21622013
HSL61°88.84%45.69%
HSB/HSV61°94.09%86.27%
CMYK1.82%0.00%94.09%
13.73%

Color #D8DC0D in popluar number systems.

HEXD8DC0D
Decimal21622013
Binary11011000110111001101
Octal33033415

Shades and tints

Shades of #D8DC0D

#D8DC0D
(216,220,13)
#C5C80C
(197,200,12)
#B2B40B
(178,180,11)
#9FA00A
(159,160,10)
#8C8C09
(140,140,9)
#797808
(121,120,8)
#666407
(102,100,7)
#535006
(83,80,6)
#403C05
(64,60,5)
#2D2804
(45,40,4)
#1A1403
(26,20,3)
#000000
(0,0,0)

Tints of #D8DC0D

#D8DC0D
(216,220,13)
#DBDF23
(219,223,35)
#DEE239
(222,226,57)
#E1E54F
(225,229,79)
#E4E865
(228,232,101)
#E7EB7B
(231,235,123)
#EAEE91
(234,238,145)
#EDF1A7
(237,241,167)
#F0F4BD
(240,244,189)
#F3F7D3
(243,247,211)
#F6FAE9
(246,250,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8DC0D color. Also use rgb(216,220,13) instead hex code.

Text Font Color

.myTextColor { color: #D8DC0D; }

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

This text font color is #D8DC0D.


Background Color

.myBgColor { background-color: #D8DC0D; }

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

This div background color is #D8DC0D.


Border color

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

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

This div border color is #D8DC0D.


Opacity

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

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

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

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

This text has shadow with #D8DC0D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8DC0D on black background.


Color preview on white background

This text has color #D8DC0D on white background.



Black color preview on #D8DC0D background

This text has black color on #D8DC0D background.


White color preview on #D8DC0D background

This text has white color on #D8DC0D background.