COLOR #D4AB2E

HEX: #D4AB2E
RGB: (212,171,46)

Color info

#D4AB2E contains mainly red and green colors. Web safe color of #D4AB2E is #CC9933 (or #C93).

RGB color model

#D4AB2E color RGB value is (212,171,46).

  • red value is 212;
  • green value is 171;
  • blue value is 46.
RGB:
(212,171,46)
(83%,67%,18%)

RGB channels and saturation

R 212 of 255 = 83%
G 171 of 255 = 67%
B 46 of 255 = 18%

212
171
46

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

Portions of RGB colors in percentages

R + G + B =
212 + 171 + 46 = 429 (100%)
R 212 of 429 ~ 49.42%
G 171 of 429 ~ 39.86%
B 46 of 429 ~ 10.72%

%49.42
%39.86
%10.72

CMYK color model

#D4AB2E color CMYK value is (0,19,78,17).

  • cyan value is 0.00%
  • magenta value is 19.34%
  • yellow value is 78.30%
  • key color value is 16.86%
CMYK:
(0,19,78,17)
C0M19Y78K17 
(0%,19%,78%,17%)
(0.00/0.19/0.78/0.17)	

CMYK percentages

%0
%19.34
%78.3
%16.86

Codes

Color #D4AB2E in popluar color models

D4AB2E
RGB21217146
HSL45°65.87%50.59%
HSB/HSV45°78.30%83.14%
CMYK0.00%19.34%78.30%
16.86%

Color #D4AB2E in popluar number systems.

HEXD4AB2E
Decimal21217146
Binary1101010010101011101110
Octal32425356

Shades and tints

Shades of #D4AB2E

#D4AB2E
(212,171,46)
#C19C2A
(193,156,42)
#AE8D26
(174,141,38)
#9B7E22
(155,126,34)
#886F1E
(136,111,30)
#75601A
(117,96,26)
#625116
(98,81,22)
#4F4212
(79,66,18)
#3C330E
(60,51,14)
#29240A
(41,36,10)
#161506
(22,21,6)
#000000
(0,0,0)

Tints of #D4AB2E

#D4AB2E
(212,171,46)
#D7B241
(215,178,65)
#DAB954
(218,185,84)
#DDC067
(221,192,103)
#E0C77A
(224,199,122)
#E3CE8D
(227,206,141)
#E6D5A0
(230,213,160)
#E9DCB3
(233,220,179)
#ECE3C6
(236,227,198)
#EFEAD9
(239,234,217)
#F2F1EC
(242,241,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D4AB2E; }

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

This text font color is #D4AB2E.


Background Color

.myBgColor { background-color: #D4AB2E; }

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

This div background color is #D4AB2E.


Border color

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

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

This div border color is #D4AB2E.


Opacity

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

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

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

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

This text has shadow with #D4AB2E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D4AB2E on black background.


Color preview on white background

This text has color #D4AB2E on white background.



Black color preview on #D4AB2E background

This text has black color on #D4AB2E background.


White color preview on #D4AB2E background

This text has white color on #D4AB2E background.