COLOR #D2D278

HEX: #D2D278
RGB: (210,210,120)

Color info

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

RGB color model

#D2D278 color RGB value is (210,210,120).

  • red value is 210;
  • green value is 210;
  • blue value is 120.
RGB:
(210,210,120)
(82%,82%,47%)

RGB channels and saturation

R 210 of 255 = 82%
G 210 of 255 = 82%
B 120 of 255 = 47%

210
210
120

R + G + B ~ 70%. #D2D278 is quite light color.

Portions of RGB colors in percentages

R + G + B =
210 + 210 + 120 = 540 (100%)
R 210 of 540 ~ 38.89%
G 210 of 540 ~ 38.89%
B 120 of 540 ~ 22.22%

%38.89
%38.89
%22.22

CMYK color model

#D2D278 color CMYK value is (0,0,43,18).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 42.86%
  • key color value is 17.65%
CMYK:
(0,0,43,18)
C0M0Y43K18 
(0%,0%,43%,18%)
(0.00/0.00/0.43/0.18)	

CMYK percentages

%0
%0
%42.86
%17.65

Codes

Color #D2D278 in popluar color models

D2D278
RGB210210120
HSL60°50.00%64.71%
HSB/HSV60°42.86%82.35%
CMYK0.00%0.00%42.86%
17.65%

Color #D2D278 in popluar number systems.

HEXD2D278
Decimal210210120
Binary11010010110100101111000
Octal322322170

Shades and tints

Shades of #D2D278

#D2D278
(210,210,120)
#BFBF6E
(191,191,110)
#ACAC64
(172,172,100)
#99995A
(153,153,90)
#868650
(134,134,80)
#737346
(115,115,70)
#60603C
(96,96,60)
#4D4D32
(77,77,50)
#3A3A28
(58,58,40)
#27271E
(39,39,30)
#141414
(20,20,20)
#000000
(0,0,0)

Tints of #D2D278

#D2D278
(210,210,120)
#D6D684
(214,214,132)
#DADA90
(218,218,144)
#DEDE9C
(222,222,156)
#E2E2A8
(226,226,168)
#E6E6B4
(230,230,180)
#EAEAC0
(234,234,192)
#EEEECC
(238,238,204)
#F2F2D8
(242,242,216)
#F6F6E4
(246,246,228)
#FAFAF0
(250,250,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D2D278; }

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

This text font color is #D2D278.


Background Color

.myBgColor { background-color: #D2D278; }

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

This div background color is #D2D278.


Border color

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

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

This div border color is #D2D278.


Opacity

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

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

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

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

This text has shadow with #D2D278 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D2D278 on black background.


Color preview on white background

This text has color #D2D278 on white background.



Black color preview on #D2D278 background

This text has black color on #D2D278 background.


White color preview on #D2D278 background

This text has white color on #D2D278 background.