COLOR #DEC978

HEX: #DEC978
RGB: (222,201,120)

Color info

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

RGB color model

#DEC978 color RGB value is (222,201,120).

  • red value is 222;
  • green value is 201;
  • blue value is 120.
RGB:
(222,201,120)
(87%,79%,47%)

RGB channels and saturation

R 222 of 255 = 87%
G 201 of 255 = 79%
B 120 of 255 = 47%

222
201
120

R + G + B ~ 71%. #DEC978 is quite light color.

Portions of RGB colors in percentages

R + G + B =
222 + 201 + 120 = 543 (100%)
R 222 of 543 ~ 40.88%
G 201 of 543 ~ 37.02%
B 120 of 543 ~ 22.1%

%40.88
%37.02
%22.1

CMYK color model

#DEC978 color CMYK value is (0,9,46,13).

  • cyan value is 0.00%
  • magenta value is 9.46%
  • yellow value is 45.95%
  • key color value is 12.94%
CMYK:
(0,9,46,13)
C0M9Y46K13 
(0%,9%,46%,13%)
(0.00/0.09/0.46/0.13)	

CMYK percentages

%0
%9.46
%45.95
%12.94

Codes

Color #DEC978 in popluar color models

DEC978
RGB222201120
HSL48°60.71%67.06%
HSB/HSV48°45.95%87.06%
CMYK0.00%9.46%45.95%
12.94%

Color #DEC978 in popluar number systems.

HEXDEC978
Decimal222201120
Binary11011110110010011111000
Octal336311170

Shades and tints

Shades of #DEC978

#DEC978
(222,201,120)
#CAB76E
(202,183,110)
#B6A564
(182,165,100)
#A2935A
(162,147,90)
#8E8150
(142,129,80)
#7A6F46
(122,111,70)
#665D3C
(102,93,60)
#524B32
(82,75,50)
#3E3928
(62,57,40)
#2A271E
(42,39,30)
#161514
(22,21,20)
#000000
(0,0,0)

Tints of #DEC978

#DEC978
(222,201,120)
#E1CD84
(225,205,132)
#E4D190
(228,209,144)
#E7D59C
(231,213,156)
#EAD9A8
(234,217,168)
#EDDDB4
(237,221,180)
#F0E1C0
(240,225,192)
#F3E5CC
(243,229,204)
#F6E9D8
(246,233,216)
#F9EDE4
(249,237,228)
#FCF1F0
(252,241,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #DEC978 color. Also use rgb(222,201,120) instead hex code.

Text Font Color

.myTextColor { color: #DEC978; }

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

This text font color is #DEC978.


Background Color

.myBgColor { background-color: #DEC978; }

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

This div background color is #DEC978.


Border color

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

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

This div border color is #DEC978.


Opacity

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

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

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

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

This text has shadow with #DEC978 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #DEC978 on black background.


Color preview on white background

This text has color #DEC978 on white background.



Black color preview on #DEC978 background

This text has black color on #DEC978 background.


White color preview on #DEC978 background

This text has white color on #DEC978 background.