COLOR #D7D7AB

HEX: #D7D7AB RGB: (215,215,171)

Color info

#D7D7AB contains red, green and blue colors in about the same proportion. Web safe color of #D7D7AB is #CCCC99 (or #CC9).

RGB color model

#D7D7AB color RGB value is (215,215,171).

RGB: (215,215,171) (84%, 84%, 67%)

RGB channels and saturation

R 215 of 255 = 84%
G 215 of 255 = 84%
B 171 of 255 = 67%

215
215
171

R + G + B ~ 78%. #D7D7AB is quite light color.

Portions of RGB colors in percentages

R + G + B = 215 + 215 + 171 = 601 (100%)
R 215 of 601 ~ 35.77%
G 215 of 601 ~ 35.77%
B 171 of 601 ~ 28.45'%

%35.77
%35.77
%28.45

CMYK color model

#D7D7AB color CMYK value is (0,0,20,16).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 20.47%
  • key color value is 15.69%

CMYK: (0,0,20,16)
C0M0Y20K16 (0%, 0%, 20%, 16%)
(0.00 / 0.00 / 0.20 / 0.16)

CMYK percentages

%0
%0
%20.47
%15.69

Codes

Color #D7D7AB in popluar color models

D7 D7 AB
RGB 215 215 171
HSL 60° 35.48% 75.69%
HSB/HSV 60° 20.47% 84.31%
CMYK 0.00% 0.00% 20.47%
15.69%

Color #D7D7AB in popluar number systems.

HEX D7 D7 AB
Decimal 215 215 171
Binary 11010111 11010111 10101011
Octal 327 327 253

Shades and tints

Shades of #D7D7AB

#D7D7AB
(215,215,171)
#C4C49C
(196,196,156)
#B1B18D
(177,177,141)
#9E9E7E
(158,158,126)
#8B8B6F
(139,139,111)
#787860
(120,120,96)
#656551
(101,101,81)
#525242
(82,82,66)
#3F3F33
(63,63,51)
#2C2C24
(44,44,36)
#191915
(25,25,21)
#000000
(0,0,0)

Tints of #D7D7AB

#D7D7AB
(215,215,171)
#DADAB2
(218,218,178)
#DDDDB9
(221,221,185)
#E0E0C0
(224,224,192)
#E3E3C7
(227,227,199)
#E6E6CE
(230,230,206)
#E9E9D5
(233,233,213)
#ECECDC
(236,236,220)
#EFEFE3
(239,239,227)
#F2F2EA
(242,242,234)
#F5F5F1
(245,245,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D7D7AB; }

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

This text font color is #D7D7AB.

Background Color

.myBgColor { background-color: #D7D7AB; }

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

This div background color is #D7D7AB.

Border color

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

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

This div border color is #D7D7AB.

Opacity

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

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

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

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

This text has shadow with #D7D7AB color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D7D7AB.

Preview

Color preview on black background

This text has color #D7D7AB on black background.


Color preview on white background

This text has color #D7D7AB on white background.


Black color preview on #D7D7AB background

This text has black color on #D7D7AB background.


White color preview on #D7D7AB background

This text has white color on #D7D7AB background.


Related colors

Complementary color

Complementary color for #hex is #282854.


I love getcolorcode.com