COLOR #D98DF0

HEX: #D98DF0
RGB: (217,141,240)

Color info

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

RGB color model

#D98DF0 color RGB value is (217,141,240).

  • red value is 217;
  • green value is 141;
  • blue value is 240.
RGB:
(217,141,240)
(85%,55%,94%)

RGB channels and saturation

R 217 of 255 = 85%
G 141 of 255 = 55%
B 240 of 255 = 94%

217
141
240

R + G + B ~ 78%. #D98DF0 is quite light color.

Portions of RGB colors in percentages

R + G + B =
217 + 141 + 240 = 598 (100%)
R 217 of 598 ~ 36.29%
G 141 of 598 ~ 23.58%
B 240 of 598 ~ 40.13%

%36.29
%23.58
%40.13

CMYK color model

#D98DF0 color CMYK value is (10,41,0,6).

  • cyan value is 9.58%
  • magenta value is 41.25%
  • yellow value is 0.00%
  • key color value is 5.88%
CMYK:
(10,41,0,6)
C10M41Y0K6 
(10%,41%,0%,6%)
(0.10/0.41/0.00/0.06)	

CMYK percentages

%9.58
%41.25
%0
%5.88

Codes

Color #D98DF0 in popluar color models

D98DF0
RGB217141240
HSL286°76.74%74.71%
HSB/HSV286°41.25%94.12%
CMYK9.58%41.25%0.00%
5.88%

Color #D98DF0 in popluar number systems.

HEXD98DF0
Decimal217141240
Binary110110011000110111110000
Octal331215360

Shades and tints

Shades of #D98DF0

#D98DF0
(217,141,240)
#C681DB
(198,129,219)
#B375C6
(179,117,198)
#A069B1
(160,105,177)
#8D5D9C
(141,93,156)
#7A5187
(122,81,135)
#674572
(103,69,114)
#54395D
(84,57,93)
#412D48
(65,45,72)
#2E2133
(46,33,51)
#1B151E
(27,21,30)
#000000
(0,0,0)

Tints of #D98DF0

#D98DF0
(217,141,240)
#DC97F1
(220,151,241)
#DFA1F2
(223,161,242)
#E2ABF3
(226,171,243)
#E5B5F4
(229,181,244)
#E8BFF5
(232,191,245)
#EBC9F6
(235,201,246)
#EED3F7
(238,211,247)
#F1DDF8
(241,221,248)
#F4E7F9
(244,231,249)
#F7F1FA
(247,241,250)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D98DF0 color. Also use rgb(217,141,240) instead hex code.

Text Font Color

.myTextColor { color: #D98DF0; }

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

This text font color is #D98DF0.


Background Color

.myBgColor { background-color: #D98DF0; }

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

This div background color is #D98DF0.


Border color

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

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

This div border color is #D98DF0.


Opacity

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

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

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

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

This text has shadow with #D98DF0 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D98DF0 on black background.


Color preview on white background

This text has color #D98DF0 on white background.



Black color preview on #D98DF0 background

This text has black color on #D98DF0 background.


White color preview on #D98DF0 background

This text has white color on #D98DF0 background.