COLOR #D99D1F

HEX: #D99D1F
RGB: (217,157,31)

Color info

#D99D1F contains mainly red color. Web safe color of #D99D1F is #CC9933 (or #C93).

RGB color model

#D99D1F color RGB value is (217,157,31).

  • red value is 217;
  • green value is 157;
  • blue value is 31.
RGB:
(217,157,31)
(85%,62%,12%)

RGB channels and saturation

R 217 of 255 = 85%
G 157 of 255 = 62%
B 31 of 255 = 12%

217
157
31

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

Portions of RGB colors in percentages

R + G + B =
217 + 157 + 31 = 405 (100%)
R 217 of 405 ~ 53.58%
G 157 of 405 ~ 38.77%
B 31 of 405 ~ 7.65%

%53.58
%38.77

CMYK color model

#D99D1F color CMYK value is (0,28,86,15).

  • cyan value is 0.00%
  • magenta value is 27.65%
  • yellow value is 85.71%
  • key color value is 14.90%
CMYK:
(0,28,86,15)
C0M28Y86K15 
(0%,28%,86%,15%)
(0.00/0.28/0.86/0.15)	

CMYK percentages

%0
%27.65
%85.71
%14.9

Codes

Color #D99D1F in popluar color models

D99D1F
RGB21715731
HSL41°75.00%48.63%
HSB/HSV41°85.71%85.10%
CMYK0.00%27.65%85.71%
14.90%

Color #D99D1F in popluar number systems.

HEXD99D1F
Decimal21715731
Binary110110011001110111111
Octal33123537

Shades and tints

Shades of #D99D1F

#D99D1F
(217,157,31)
#C68F1D
(198,143,29)
#B3811B
(179,129,27)
#A07319
(160,115,25)
#8D6517
(141,101,23)
#7A5715
(122,87,21)
#674913
(103,73,19)
#543B11
(84,59,17)
#412D0F
(65,45,15)
#2E1F0D
(46,31,13)
#1B110B
(27,17,11)
#000000
(0,0,0)

Tints of #D99D1F

#D99D1F
(217,157,31)
#DCA533
(220,165,51)
#DFAD47
(223,173,71)
#E2B55B
(226,181,91)
#E5BD6F
(229,189,111)
#E8C583
(232,197,131)
#EBCD97
(235,205,151)
#EED5AB
(238,213,171)
#F1DDBF
(241,221,191)
#F4E5D3
(244,229,211)
#F7EDE7
(247,237,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D99D1F color. Also use rgb(217,157,31) instead hex code.

Text Font Color

.myTextColor { color: #D99D1F; }

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

This text font color is #D99D1F.


Background Color

.myBgColor { background-color: #D99D1F; }

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

This div background color is #D99D1F.


Border color

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

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

This div border color is #D99D1F.


Opacity

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

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

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

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

This text has shadow with #D99D1F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D99D1F on black background.


Color preview on white background

This text has color #D99D1F on white background.



Black color preview on #D99D1F background

This text has black color on #D99D1F background.


White color preview on #D99D1F background

This text has white color on #D99D1F background.