COLOR #D8CAF0

HEX: #D8CAF0
RGB: (216,202,240)

Color info

#D8CAF0 contains red, green and blue colors in about the same proportion. Web safe color of #D8CAF0 is #CCCCFF (or #CCF).

RGB color model

#D8CAF0 color RGB value is (216,202,240).

  • red value is 216;
  • green value is 202;
  • blue value is 240.
RGB:
(216,202,240)
(85%,79%,94%)

RGB channels and saturation

R 216 of 255 = 85%
G 202 of 255 = 79%
B 240 of 255 = 94%

216
202
240

R + G + B ~ 86%. #D8CAF0 is light color.

Portions of RGB colors in percentages

R + G + B =
216 + 202 + 240 = 658 (100%)
R 216 of 658 ~ 32.83%
G 202 of 658 ~ 30.7%
B 240 of 658 ~ 36.47%

%32.83
%30.7
%36.47

CMYK color model

#D8CAF0 color CMYK value is (10,16,0,6).

  • cyan value is 10.00%
  • magenta value is 15.83%
  • yellow value is 0.00%
  • key color value is 5.88%
CMYK:
(10,16,0,6)
C10M16Y0K6 
(10%,16%,0%,6%)
(0.10/0.16/0.00/0.06)	

CMYK percentages

%10
%15.83
%0
%5.88

Codes

Color #D8CAF0 in popluar color models

D8CAF0
RGB216202240
HSL262°55.88%86.67%
HSB/HSV262°15.83%94.12%
CMYK10.00%15.83%0.00%
5.88%

Color #D8CAF0 in popluar number systems.

HEXD8CAF0
Decimal216202240
Binary110110001100101011110000
Octal330312360

Shades and tints

Shades of #D8CAF0

#D8CAF0
(216,202,240)
#C5B8DB
(197,184,219)
#B2A6C6
(178,166,198)
#9F94B1
(159,148,177)
#8C829C
(140,130,156)
#797087
(121,112,135)
#665E72
(102,94,114)
#534C5D
(83,76,93)
#403A48
(64,58,72)
#2D2833
(45,40,51)
#1A161E
(26,22,30)
#000000
(0,0,0)

Tints of #D8CAF0

#D8CAF0
(216,202,240)
#DBCEF1
(219,206,241)
#DED2F2
(222,210,242)
#E1D6F3
(225,214,243)
#E4DAF4
(228,218,244)
#E7DEF5
(231,222,245)
#EAE2F6
(234,226,246)
#EDE6F7
(237,230,247)
#F0EAF8
(240,234,248)
#F3EEF9
(243,238,249)
#F6F2FA
(246,242,250)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8CAF0 color. Also use rgb(216,202,240) instead hex code.

Text Font Color

.myTextColor { color: #D8CAF0; }

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

This text font color is #D8CAF0.


Background Color

.myBgColor { background-color: #D8CAF0; }

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

This div background color is #D8CAF0.


Border color

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

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

This div border color is #D8CAF0.


Opacity

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

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

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

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

This text has shadow with #D8CAF0 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8CAF0 on black background.


Color preview on white background

This text has color #D8CAF0 on white background.



Black color preview on #D8CAF0 background

This text has black color on #D8CAF0 background.


White color preview on #D8CAF0 background

This text has white color on #D8CAF0 background.