COLOR #D1D198

HEX: #D1D198 RGB: (209,209,152)

Color info

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

RGB color model

#D1D198 color RGB value is (209,209,152).

RGB: (209,209,152) (82%, 82%, 60%)

RGB channels and saturation

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

209
209
152

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

Portions of RGB colors in percentages

R + G + B = 209 + 209 + 152 = 570 (100%)
R 209 of 570 ~ 36.67%
G 209 of 570 ~ 36.67%
B 152 of 570 ~ 26.67'%

%36.67
%36.67
%26.67

CMYK color model

#D1D198 color CMYK value is (0,0,27,18).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 27.27%
  • key color value is 18.04%

CMYK: (0,0,27,18)
C0M0Y27K18 (0%, 0%, 27%, 18%)
(0.00 / 0.00 / 0.27 / 0.18)

CMYK percentages

%0
%0
%27.27
%18.04

Codes

Color #D1D198 in popluar color models

D1 D1 98
RGB 209 209 152
HSL 60° 38.26% 70.78%
HSB/HSV 60° 27.27% 81.96%
CMYK 0.00% 0.00% 27.27%
18.04%

Color #D1D198 in popluar number systems.

HEX D1 D1 98
Decimal 209 209 152
Binary 11010001 11010001 10011000
Octal 321 321 230

Shades and tints

Shades of #D1D198

#D1D198
(209,209,152)
#BEBE8B
(190,190,139)
#ABAB7E
(171,171,126)
#989871
(152,152,113)
#858564
(133,133,100)
#727257
(114,114,87)
#5F5F4A
(95,95,74)
#4C4C3D
(76,76,61)
#393930
(57,57,48)
#262623
(38,38,35)
#131316
(19,19,22)
#000000
(0,0,0)

Tints of #D1D198

#D1D198
(209,209,152)
#D5D5A1
(213,213,161)
#D9D9AA
(217,217,170)
#DDDDB3
(221,221,179)
#E1E1BC
(225,225,188)
#E5E5C5
(229,229,197)
#E9E9CE
(233,233,206)
#EDEDD7
(237,237,215)
#F1F1E0
(241,241,224)
#F5F5E9
(245,245,233)
#F9F9F2
(249,249,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D1D198; }

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

This text font color is #D1D198.

Background Color

.myBgColor { background-color: #D1D198; }

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

This div background color is #D1D198.

Border color

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

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

This div border color is #D1D198.

Opacity

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

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

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

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

This text has shadow with #D1D198 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D1D198.

Preview

Color preview on black background

This text has color #D1D198 on black background.


Color preview on white background

This text has color #D1D198 on white background.


Black color preview on #D1D198 background

This text has black color on #D1D198 background.


White color preview on #D1D198 background

This text has white color on #D1D198 background.


Related colors

Complementary color

Complementary color for #hex is #2E2E67.


I love getcolorcode.com