COLOR #D98CF0

HEX: #D98CF0
RGB: (217,140,240)

Color info

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

RGB color model

#D98CF0 color RGB value is (217,140,240).

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

RGB channels and saturation

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

217
140
240

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

Portions of RGB colors in percentages

R + G + B =
217 + 140 + 240 = 597 (100%)
R 217 of 597 ~ 36.35%
G 140 of 597 ~ 23.45%
B 240 of 597 ~ 40.2%

%36.35
%23.45
%40.2

CMYK color model

#D98CF0 color CMYK value is (10,42,0,6).

  • cyan value is 9.58%
  • magenta value is 41.67%
  • yellow value is 0.00%
  • key color value is 5.88%
CMYK:
(10,42,0,6)
C10M42Y0K6 
(10%,42%,0%,6%)
(0.10/0.42/0.00/0.06)	

CMYK percentages

%9.58
%41.67
%0
%5.88

Codes

Color #D98CF0 in popluar color models

D98CF0
RGB217140240
HSL286°76.92%74.51%
HSB/HSV286°41.67%94.12%
CMYK9.58%41.67%0.00%
5.88%

Color #D98CF0 in popluar number systems.

HEXD98CF0
Decimal217140240
Binary110110011000110011110000
Octal331214360

Shades and tints

Shades of #D98CF0

#D98CF0
(217,140,240)
#C680DB
(198,128,219)
#B374C6
(179,116,198)
#A068B1
(160,104,177)
#8D5C9C
(141,92,156)
#7A5087
(122,80,135)
#674472
(103,68,114)
#54385D
(84,56,93)
#412C48
(65,44,72)
#2E2033
(46,32,51)
#1B141E
(27,20,30)
#000000
(0,0,0)

Tints of #D98CF0

#D98CF0
(217,140,240)
#DC96F1
(220,150,241)
#DFA0F2
(223,160,242)
#E2AAF3
(226,170,243)
#E5B4F4
(229,180,244)
#E8BEF5
(232,190,245)
#EBC8F6
(235,200,246)
#EED2F7
(238,210,247)
#F1DCF8
(241,220,248)
#F4E6F9
(244,230,249)
#F7F0FA
(247,240,250)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D98CF0; }

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

This text font color is #D98CF0.


Background Color

.myBgColor { background-color: #D98CF0; }

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

This div background color is #D98CF0.


Border color

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

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

This div border color is #D98CF0.


Opacity

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

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

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

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

This text has shadow with #D98CF0 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D98CF0 on black background.


Color preview on white background

This text has color #D98CF0 on white background.



Black color preview on #D98CF0 background

This text has black color on #D98CF0 background.


White color preview on #D98CF0 background

This text has white color on #D98CF0 background.