COLOR #D2D298

HEX: #D2D298
RGB: (210,210,152)

Color info

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

RGB color model

#D2D298 color RGB value is (210,210,152).

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

RGB channels and saturation

R 210 of 255 = 82%
G 210 of 255 = 82%
B 152 of 255 = 60%

210
210
152

R + G + B ~ 75%. #D2D298 is quite light color.

Portions of RGB colors in percentages

R + G + B =
210 + 210 + 152 = 572 (100%)
R 210 of 572 ~ 36.71%
G 210 of 572 ~ 36.71%
B 152 of 572 ~ 26.57%

%36.71
%36.71
%26.57

CMYK color model

#D2D298 color CMYK value is (0,0,28,18).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 27.62%
  • key color value is 17.65%
CMYK:
(0,0,28,18)
C0M0Y28K18 
(0%,0%,28%,18%)
(0.00/0.00/0.28/0.18)	

CMYK percentages

%0
%0
%27.62
%17.65

Codes

Color #D2D298 in popluar color models

D2D298
RGB210210152
HSL60°39.19%70.98%
HSB/HSV60°27.62%82.35%
CMYK0.00%0.00%27.62%
17.65%

Color #D2D298 in popluar number systems.

HEXD2D298
Decimal210210152
Binary110100101101001010011000
Octal322322230

Shades and tints

Shades of #D2D298

#D2D298
(210,210,152)
#BFBF8B
(191,191,139)
#ACAC7E
(172,172,126)
#999971
(153,153,113)
#868664
(134,134,100)
#737357
(115,115,87)
#60604A
(96,96,74)
#4D4D3D
(77,77,61)
#3A3A30
(58,58,48)
#272723
(39,39,35)
#141416
(20,20,22)
#000000
(0,0,0)

Tints of #D2D298

#D2D298
(210,210,152)
#D6D6A1
(214,214,161)
#DADAAA
(218,218,170)
#DEDEB3
(222,222,179)
#E2E2BC
(226,226,188)
#E6E6C5
(230,230,197)
#EAEACE
(234,234,206)
#EEEED7
(238,238,215)
#F2F2E0
(242,242,224)
#F6F6E9
(246,246,233)
#FAFAF2
(250,250,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D2D298; }

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

This text font color is #D2D298.


Background Color

.myBgColor { background-color: #D2D298; }

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

This div background color is #D2D298.


Border color

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

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

This div border color is #D2D298.


Opacity

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

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

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

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

This text has shadow with #D2D298 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D2D298 on black background.


Color preview on white background

This text has color #D2D298 on white background.



Black color preview on #D2D298 background

This text has black color on #D2D298 background.


White color preview on #D2D298 background

This text has white color on #D2D298 background.