COLOR #D7AF2A

HEX: #D7AF2A
RGB: (215,175,42)

Color info

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

RGB color model

#D7AF2A color RGB value is (215,175,42).

  • red value is 215;
  • green value is 175;
  • blue value is 42.
RGB:
(215,175,42)
(84%,69%,16%)

RGB channels and saturation

R 215 of 255 = 84%
G 175 of 255 = 69%
B 42 of 255 = 16%

215
175
42

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

Portions of RGB colors in percentages

R + G + B =
215 + 175 + 42 = 432 (100%)
R 215 of 432 ~ 49.77%
G 175 of 432 ~ 40.51%
B 42 of 432 ~ 9.72%

%49.77
%40.51
%9.72

CMYK color model

#D7AF2A color CMYK value is (0,19,80,16).

  • cyan value is 0.00%
  • magenta value is 18.60%
  • yellow value is 80.47%
  • key color value is 15.69%
CMYK:
(0,19,80,16)
C0M19Y80K16 
(0%,19%,80%,16%)
(0.00/0.19/0.80/0.16)	

CMYK percentages

%0
%18.6
%80.47
%15.69

Codes

Color #D7AF2A in popluar color models

D7AF2A
RGB21517542
HSL46°68.38%50.39%
HSB/HSV46°80.47%84.31%
CMYK0.00%18.60%80.47%
15.69%

Color #D7AF2A in popluar number systems.

HEXD7AF2A
Decimal21517542
Binary1101011110101111101010
Octal32725752

Shades and tints

Shades of #D7AF2A

#D7AF2A
(215,175,42)
#C4A027
(196,160,39)
#B19124
(177,145,36)
#9E8221
(158,130,33)
#8B731E
(139,115,30)
#78641B
(120,100,27)
#655518
(101,85,24)
#524615
(82,70,21)
#3F3712
(63,55,18)
#2C280F
(44,40,15)
#19190C
(25,25,12)
#000000
(0,0,0)

Tints of #D7AF2A

#D7AF2A
(215,175,42)
#DAB63D
(218,182,61)
#DDBD50
(221,189,80)
#E0C463
(224,196,99)
#E3CB76
(227,203,118)
#E6D289
(230,210,137)
#E9D99C
(233,217,156)
#ECE0AF
(236,224,175)
#EFE7C2
(239,231,194)
#F2EED5
(242,238,213)
#F5F5E8
(245,245,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D7AF2A color. Also use rgb(215,175,42) instead hex code.

Text Font Color

.myTextColor { color: #D7AF2A; }

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

This text font color is #D7AF2A.


Background Color

.myBgColor { background-color: #D7AF2A; }

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

This div background color is #D7AF2A.


Border color

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

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

This div border color is #D7AF2A.


Opacity

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

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

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

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

This text has shadow with #D7AF2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D7AF2A on black background.


Color preview on white background

This text has color #D7AF2A on white background.



Black color preview on #D7AF2A background

This text has black color on #D7AF2A background.


White color preview on #D7AF2A background

This text has white color on #D7AF2A background.