COLOR #D8C7FB

HEX: #D8C7FB
RGB: (216,199,251)

Color info

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

RGB color model

#D8C7FB color RGB value is (216,199,251).

  • red value is 216;
  • green value is 199;
  • blue value is 251.
RGB:
(216,199,251)
(85%,78%,98%)

RGB channels and saturation

R 216 of 255 = 85%
G 199 of 255 = 78%
B 251 of 255 = 98%

216
199
251

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

Portions of RGB colors in percentages

R + G + B =
216 + 199 + 251 = 666 (100%)
R 216 of 666 ~ 32.43%
G 199 of 666 ~ 29.88%
B 251 of 666 ~ 37.69%

%32.43
%29.88
%37.69

CMYK color model

#D8C7FB color CMYK value is (14,21,0,2).

  • cyan value is 13.94%
  • magenta value is 20.72%
  • yellow value is 0.00%
  • key color value is 1.57%
CMYK:
(14,21,0,2)
C14M21Y0K2 
(14%,21%,0%,2%)
(0.14/0.21/0.00/0.02)	

CMYK percentages

%13.94
%20.72
%0
%1.57

Codes

Color #D8C7FB in popluar color models

D8C7FB
RGB216199251
HSL260°86.67%88.24%
HSB/HSV260°20.72%98.43%
CMYK13.94%20.72%0.00%
1.57%

Color #D8C7FB in popluar number systems.

HEXD8C7FB
Decimal216199251
Binary110110001100011111111011
Octal330307373

Shades and tints

Shades of #D8C7FB

#D8C7FB
(216,199,251)
#C5B5E5
(197,181,229)
#B2A3CF
(178,163,207)
#9F91B9
(159,145,185)
#8C7FA3
(140,127,163)
#796D8D
(121,109,141)
#665B77
(102,91,119)
#534961
(83,73,97)
#40374B
(64,55,75)
#2D2535
(45,37,53)
#1A131F
(26,19,31)
#000000
(0,0,0)

Tints of #D8C7FB

#D8C7FB
(216,199,251)
#DBCCFB
(219,204,251)
#DED1FB
(222,209,251)
#E1D6FB
(225,214,251)
#E4DBFB
(228,219,251)
#E7E0FB
(231,224,251)
#EAE5FB
(234,229,251)
#EDEAFB
(237,234,251)
#F0EFFB
(240,239,251)
#F3F4FB
(243,244,251)
#F6F9FB
(246,249,251)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8C7FB color. Also use rgb(216,199,251) instead hex code.

Text Font Color

.myTextColor { color: #D8C7FB; }

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

This text font color is #D8C7FB.


Background Color

.myBgColor { background-color: #D8C7FB; }

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

This div background color is #D8C7FB.


Border color

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

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

This div border color is #D8C7FB.


Opacity

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

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

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

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

This text has shadow with #D8C7FB color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8C7FB on black background.


Color preview on white background

This text has color #D8C7FB on white background.



Black color preview on #D8C7FB background

This text has black color on #D8C7FB background.


White color preview on #D8C7FB background

This text has white color on #D8C7FB background.