COLOR #D998F7

HEX: #D998F7 RGB: (217,152,247)

Color info

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

RGB color model

#D998F7 color RGB value is (217,152,247).

RGB: (217,152,247) (85%, 60%, 97%)

RGB channels and saturation

R 217 of 255 = 85%
G 152 of 255 = 60%
B 247 of 255 = 97%

217
152
247

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

Portions of RGB colors in percentages

R + G + B = 217 + 152 + 247 = 616 (100%)
R 217 of 616 ~ 35.23%
G 152 of 616 ~ 24.68%
B 247 of 616 ~ 40.1'%

%35.23
%24.68
%40.1

CMYK color model

#D998F7 color CMYK value is (12,38,0,3).

  • cyan value is 12.15%
  • magenta value is 38.46%
  • yellow value is 0.00%
  • key color value is 3.14%
CMYK: (12,38,0,3) C12M38Y0K3 (12%,38%,0%,3%) (0.12/0.38/0.00/0.03) 

CMYK percentages

%12.15
%38.46
%0
%3.14

Codes

Color #D998F7 in popluar color models

D9 98 F7
RGB 217 152 247
HSL 281° 85.59% 78.24%
HSB/HSV 281° 38.46% 96.86%
CMYK 12.15% 38.46% 0.00%
3.14%

Color #D998F7 in popluar number systems.

HEX D9 98 F7
Decimal 217 152 247
Binary 11011001 10011000 11110111
Octal 331 230 367

Shades and tints

Shades of #D998F7

#D998F7
(217,152,247)
#C68BE1
(198,139,225)
#B37ECB
(179,126,203)
#A071B5
(160,113,181)
#8D649F
(141,100,159)
#7A5789
(122,87,137)
#674A73
(103,74,115)
#543D5D
(84,61,93)
#413047
(65,48,71)
#2E2331
(46,35,49)
#1B161B
(27,22,27)
#000000
(0,0,0)

Tints of #D998F7

#D998F7
(217,152,247)
#DCA1F7
(220,161,247)
#DFAAF7
(223,170,247)
#E2B3F7
(226,179,247)
#E5BCF7
(229,188,247)
#E8C5F7
(232,197,247)
#EBCEF7
(235,206,247)
#EED7F7
(238,215,247)
#F1E0F7
(241,224,247)
#F4E9F7
(244,233,247)
#F7F2F7
(247,242,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D998F7 color. Also use rgb(217,152,247) instead hex code.

Text Font Color

.myTextColor { color: #D998F7; }

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

This text font color is #D998F7.

Background Color

.myBgColor { background-color: #D998F7; }

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

This div background color is #D998F7.

Border color

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

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

This div border color is #D998F7.

Opacity

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

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

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

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

This text has shadow with #D998F7 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D998F7.

Preview

Color preview on black background

This text has color #D998F7 on black background.


Color preview on white background

This text has color #D998F7 on white background.


Black color preview on #D998F7 background

This text has black color on #D998F7 background.


White color preview on #D998F7 background

This text has white color on #D998F7 background.


Related colors

Complementary color

Complementary color for #hex is #266708.


I love getcolorcode.com

Triadic colors

1 #F7D998 and #98F7D9 with #D998F7 are triadic colors.

2 #F798D9 and #98D9F7 with #D998F7 are triadic colors.