COLOR #D99DF2

HEX: #D99DF2
RGB: (217,157,242)

Color info

#D99DF2 contains mainly red and blue colors. Web safe color of #D99DF2 is #CC99FF (or #C9F).

RGB color model

#D99DF2 color RGB value is (217,157,242).

  • red value is 217;
  • green value is 157;
  • blue value is 242.
RGB:
(217,157,242)
(85%,62%,95%)

RGB channels and saturation

R 217 of 255 = 85%
G 157 of 255 = 62%
B 242 of 255 = 95%

217
157
242

R + G + B ~ 81%. #D99DF2 is quite light color.

Portions of RGB colors in percentages

R + G + B =
217 + 157 + 242 = 616 (100%)
R 217 of 616 ~ 35.23%
G 157 of 616 ~ 25.49%
B 242 of 616 ~ 39.29%

%35.23
%25.49
%39.29

CMYK color model

#D99DF2 color CMYK value is (10,35,0,5).

  • cyan value is 10.33%
  • magenta value is 35.12%
  • yellow value is 0.00%
  • key color value is 5.10%
CMYK:
(10,35,0,5)
C10M35Y0K5 
(10%,35%,0%,5%)
(0.10/0.35/0.00/0.05)	

CMYK percentages

%10.33
%35.12
%0
%5.1

Codes

Color #D99DF2 in popluar color models

D99DF2
RGB217157242
HSL282°76.58%78.24%
HSB/HSV282°35.12%94.90%
CMYK10.33%35.12%0.00%
5.10%

Color #D99DF2 in popluar number systems.

HEXD99DF2
Decimal217157242
Binary110110011001110111110010
Octal331235362

Shades and tints

Shades of #D99DF2

#D99DF2
(217,157,242)
#C68FDC
(198,143,220)
#B381C6
(179,129,198)
#A073B0
(160,115,176)
#8D659A
(141,101,154)
#7A5784
(122,87,132)
#67496E
(103,73,110)
#543B58
(84,59,88)
#412D42
(65,45,66)
#2E1F2C
(46,31,44)
#1B1116
(27,17,22)
#000000
(0,0,0)

Tints of #D99DF2

#D99DF2
(217,157,242)
#DCA5F3
(220,165,243)
#DFADF4
(223,173,244)
#E2B5F5
(226,181,245)
#E5BDF6
(229,189,246)
#E8C5F7
(232,197,247)
#EBCDF8
(235,205,248)
#EED5F9
(238,213,249)
#F1DDFA
(241,221,250)
#F4E5FB
(244,229,251)
#F7EDFC
(247,237,252)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D99DF2 color. Also use rgb(217,157,242) instead hex code.

Text Font Color

.myTextColor { color: #D99DF2; }

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

This text font color is #D99DF2.


Background Color

.myBgColor { background-color: #D99DF2; }

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

This div background color is #D99DF2.


Border color

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

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

This div border color is #D99DF2.


Opacity

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

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

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

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

This text has shadow with #D99DF2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D99DF2 on black background.


Color preview on white background

This text has color #D99DF2 on white background.



Black color preview on #D99DF2 background

This text has black color on #D99DF2 background.


White color preview on #D99DF2 background

This text has white color on #D99DF2 background.