COLOR #D7CB52

HEX: #D7CB52
RGB: (215,203,82)

Color info

#D7CB52 contains mainly red and green colors. Web safe color of #D7CB52 is #CCCC66 (or #CC6).

RGB color model

#D7CB52 color RGB value is (215,203,82).

  • red value is 215;
  • green value is 203;
  • blue value is 82.
RGB:
(215,203,82)
(84%,80%,32%)

RGB channels and saturation

R 215 of 255 = 84%
G 203 of 255 = 80%
B 82 of 255 = 32%

215
203
82

R + G + B ~ 65%. #D7CB52 is quite light color.

Portions of RGB colors in percentages

R + G + B =
215 + 203 + 82 = 500 (100%)
R 215 of 500 ~ 43%
G 203 of 500 ~ 40.6%
B 82 of 500 ~ 16.4%

%43
%40.6
%16.4

CMYK color model

#D7CB52 color CMYK value is (0,6,62,16).

  • cyan value is 0.00%
  • magenta value is 5.58%
  • yellow value is 61.86%
  • key color value is 15.69%
CMYK:
(0,6,62,16)
C0M6Y62K16 
(0%,6%,62%,16%)
(0.00/0.06/0.62/0.16)	

CMYK percentages

%0
%5.58
%61.86
%15.69

Codes

Color #D7CB52 in popluar color models

D7CB52
RGB21520382
HSL55°62.44%58.24%
HSB/HSV55°61.86%84.31%
CMYK0.00%5.58%61.86%
15.69%

Color #D7CB52 in popluar number systems.

HEXD7CB52
Decimal21520382
Binary11010111110010111010010
Octal327313122

Shades and tints

Shades of #D7CB52

#D7CB52
(215,203,82)
#C4B94B
(196,185,75)
#B1A744
(177,167,68)
#9E953D
(158,149,61)
#8B8336
(139,131,54)
#78712F
(120,113,47)
#655F28
(101,95,40)
#524D21
(82,77,33)
#3F3B1A
(63,59,26)
#2C2913
(44,41,19)
#19170C
(25,23,12)
#000000
(0,0,0)

Tints of #D7CB52

#D7CB52
(215,203,82)
#DACF61
(218,207,97)
#DDD370
(221,211,112)
#E0D77F
(224,215,127)
#E3DB8E
(227,219,142)
#E6DF9D
(230,223,157)
#E9E3AC
(233,227,172)
#ECE7BB
(236,231,187)
#EFEBCA
(239,235,202)
#F2EFD9
(242,239,217)
#F5F3E8
(245,243,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D7CB52; }

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

This text font color is #D7CB52.


Background Color

.myBgColor { background-color: #D7CB52; }

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

This div background color is #D7CB52.


Border color

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

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

This div border color is #D7CB52.


Opacity

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

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

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

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

This text has shadow with #D7CB52 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D7CB52 on black background.


Color preview on white background

This text has color #D7CB52 on white background.



Black color preview on #D7CB52 background

This text has black color on #D7CB52 background.


White color preview on #D7CB52 background

This text has white color on #D7CB52 background.