COLOR #D8CAFA

HEX: #D8CAFA
RGB: (216,202,250)

Color info

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

RGB color model

#D8CAFA color RGB value is (216,202,250).

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

RGB channels and saturation

R 216 of 255 = 85%
G 202 of 255 = 79%
B 250 of 255 = 98%

216
202
250

R + G + B ~ 87%. #D8CAFA is light color.

Portions of RGB colors in percentages

R + G + B =
216 + 202 + 250 = 668 (100%)
R 216 of 668 ~ 32.34%
G 202 of 668 ~ 30.24%
B 250 of 668 ~ 37.43%

%32.34
%30.24
%37.43

CMYK color model

#D8CAFA color CMYK value is (14,19,0,2).

  • cyan value is 13.60%
  • magenta value is 19.20%
  • yellow value is 0.00%
  • key color value is 1.96%
CMYK:
(14,19,0,2)
C14M19Y0K2 
(14%,19%,0%,2%)
(0.14/0.19/0.00/0.02)	

CMYK percentages

%13.6
%19.2
%0
%1.96

Codes

Color #D8CAFA in popluar color models

D8CAFA
RGB216202250
HSL258°82.76%88.63%
HSB/HSV258°19.20%98.04%
CMYK13.60%19.20%0.00%
1.96%

Color #D8CAFA in popluar number systems.

HEXD8CAFA
Decimal216202250
Binary110110001100101011111010
Octal330312372

Shades and tints

Shades of #D8CAFA

#D8CAFA
(216,202,250)
#C5B8E4
(197,184,228)
#B2A6CE
(178,166,206)
#9F94B8
(159,148,184)
#8C82A2
(140,130,162)
#79708C
(121,112,140)
#665E76
(102,94,118)
#534C60
(83,76,96)
#403A4A
(64,58,74)
#2D2834
(45,40,52)
#1A161E
(26,22,30)
#000000
(0,0,0)

Tints of #D8CAFA

#D8CAFA
(216,202,250)
#DBCEFA
(219,206,250)
#DED2FA
(222,210,250)
#E1D6FA
(225,214,250)
#E4DAFA
(228,218,250)
#E7DEFA
(231,222,250)
#EAE2FA
(234,226,250)
#EDE6FA
(237,230,250)
#F0EAFA
(240,234,250)
#F3EEFA
(243,238,250)
#F6F2FA
(246,242,250)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8CAFA; }

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

This text font color is #D8CAFA.


Background Color

.myBgColor { background-color: #D8CAFA; }

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

This div background color is #D8CAFA.


Border color

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

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

This div border color is #D8CAFA.


Opacity

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

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

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

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

This text has shadow with #D8CAFA color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8CAFA on black background.


Color preview on white background

This text has color #D8CAFA on white background.



Black color preview on #D8CAFA background

This text has black color on #D8CAFA background.


White color preview on #D8CAFA background

This text has white color on #D8CAFA background.