COLOR #D2A508

HEX: #D2A508
RGB: (210,165,8)

Color info

#D2A508 contains mainly red and green colors. Web safe color of #D2A508 is #CC9900 (or #C90).

RGB color model

#D2A508 color RGB value is (210,165,8).

  • red value is 210;
  • green value is 165;
  • blue value is 8.
RGB:
(210,165,8)
(82%,65%,3%)

RGB channels and saturation

R 210 of 255 = 82%
G 165 of 255 = 65%
B 8 of 255 = 3%

210
165
8

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

Portions of RGB colors in percentages

R + G + B =
210 + 165 + 8 = 383 (100%)
R 210 of 383 ~ 54.83%
G 165 of 383 ~ 43.08%
B 8 of 383 ~ 2.09%

%54.83
%43.08

CMYK color model

#D2A508 color CMYK value is (0,21,96,18).

  • cyan value is 0.00%
  • magenta value is 21.43%
  • yellow value is 96.19%
  • key color value is 17.65%
CMYK:
(0,21,96,18)
C0M21Y96K18 
(0%,21%,96%,18%)
(0.00/0.21/0.96/0.18)	

CMYK percentages

%0
%21.43
%96.19
%17.65

Codes

Color #D2A508 in popluar color models

D2A508
RGB2101658
HSL47°92.66%42.75%
HSB/HSV47°96.19%82.35%
CMYK0.00%21.43%96.19%
17.65%

Color #D2A508 in popluar number systems.

HEXD2A508
Decimal2101658
Binary11010010101001011000
Octal32224510

Shades and tints

Shades of #D2A508

#D2A508
(210,165,8)
#BF9608
(191,150,8)
#AC8708
(172,135,8)
#997808
(153,120,8)
#866908
(134,105,8)
#735A08
(115,90,8)
#604B08
(96,75,8)
#4D3C08
(77,60,8)
#3A2D08
(58,45,8)
#271E08
(39,30,8)
#140F08
(20,15,8)
#000000
(0,0,0)

Tints of #D2A508

#D2A508
(210,165,8)
#D6AD1E
(214,173,30)
#DAB534
(218,181,52)
#DEBD4A
(222,189,74)
#E2C560
(226,197,96)
#E6CD76
(230,205,118)
#EAD58C
(234,213,140)
#EEDDA2
(238,221,162)
#F2E5B8
(242,229,184)
#F6EDCE
(246,237,206)
#FAF5E4
(250,245,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D2A508 color. Also use rgb(210,165,8) instead hex code.

Text Font Color

.myTextColor { color: #D2A508; }

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

This text font color is #D2A508.


Background Color

.myBgColor { background-color: #D2A508; }

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

This div background color is #D2A508.


Border color

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

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

This div border color is #D2A508.


Opacity

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

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

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

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

This text has shadow with #D2A508 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D2A508 on black background.


Color preview on white background

This text has color #D2A508 on white background.



Black color preview on #D2A508 background

This text has black color on #D2A508 background.


White color preview on #D2A508 background

This text has white color on #D2A508 background.