COLOR #D8D8FF

HEX: #D8D8FF
RGB: (216,216,255)

Color info

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

RGB color model

#D8D8FF color RGB value is (216,216,255).

  • red value is 216;
  • green value is 216;
  • blue value is 255.
RGB:
(216,216,255)
(85%,85%,100%)

RGB channels and saturation

R 216 of 255 = 85%
G 216 of 255 = 85%
B 255 of 255 = 100%

216
216
255

R + G + B ~ 90%. #D8D8FF is light color.

Portions of RGB colors in percentages

R + G + B =
216 + 216 + 255 = 687 (100%)
R 216 of 687 ~ 31.44%
G 216 of 687 ~ 31.44%
B 255 of 687 ~ 37.12%

%31.44
%31.44
%37.12

CMYK color model

#D8D8FF color CMYK value is (15,15,0,0).

  • cyan value is 15.29%
  • magenta value is 15.29%
  • yellow value is 0.00%
  • key color value is 0.00%
CMYK:
(15,15,0,0)
C15M15Y0K0 
(15%,15%,0%,0%)
(0.15/0.15/0.00/0.00)	

CMYK percentages

%15.29
%15.29
%0
%0

Codes

Color #D8D8FF in popluar color models

D8D8FF
RGB216216255
HSL240°100.00%92.35%
HSB/HSV240°15.29%100.00%
CMYK15.29%15.29%0.00%
0.00%

Color #D8D8FF in popluar number systems.

HEXD8D8FF
Decimal216216255
Binary110110001101100011111111
Octal330330377

Shades and tints

Shades of #D8D8FF

#D8D8FF
(216,216,255)
#C5C5E8
(197,197,232)
#B2B2D1
(178,178,209)
#9F9FBA
(159,159,186)
#8C8CA3
(140,140,163)
#79798C
(121,121,140)
#666675
(102,102,117)
#53535E
(83,83,94)
#404047
(64,64,71)
#2D2D30
(45,45,48)
#1A1A19
(26,26,25)
#000000
(0,0,0)

Tints of #D8D8FF

#D8D8FF
(216,216,255)
#DBDBFF
(219,219,255)
#DEDEFF
(222,222,255)
#E1E1FF
(225,225,255)
#E4E4FF
(228,228,255)
#E7E7FF
(231,231,255)
#EAEAFF
(234,234,255)
#EDEDFF
(237,237,255)
#F0F0FF
(240,240,255)
#F3F3FF
(243,243,255)
#F6F6FF
(246,246,255)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D8D8FF; }

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

This text font color is #D8D8FF.


Background Color

.myBgColor { background-color: #D8D8FF; }

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

This div background color is #D8D8FF.


Border color

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

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

This div border color is #D8D8FF.


Opacity

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

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

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

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

This text has shadow with #D8D8FF color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8D8FF on black background.


Color preview on white background

This text has color #D8D8FF on white background.



Black color preview on #D8D8FF background

This text has black color on #D8D8FF background.


White color preview on #D8D8FF background

This text has white color on #D8D8FF background.