COLOR #D997FC

HEX: #D997FC
RGB: (217,151,252)

Color info

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

RGB color model

#D997FC color RGB value is (217,151,252).

  • red value is 217;
  • green value is 151;
  • blue value is 252.
RGB:
(217,151,252)
(85%,59%,99%)

RGB channels and saturation

R 217 of 255 = 85%
G 151 of 255 = 59%
B 252 of 255 = 99%

217
151
252

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

Portions of RGB colors in percentages

R + G + B =
217 + 151 + 252 = 620 (100%)
R 217 of 620 ~ 35%
G 151 of 620 ~ 24.35%
B 252 of 620 ~ 40.65%

%35
%24.35
%40.65

CMYK color model

#D997FC color CMYK value is (14,40,0,1).

  • cyan value is 13.89%
  • magenta value is 40.08%
  • yellow value is 0.00%
  • key color value is 1.18%
CMYK:
(14,40,0,1)
C14M40Y0K1 
(14%,40%,0%,1%)
(0.14/0.40/0.00/0.01)	

CMYK percentages

%13.89
%40.08
%0
%1.18

Codes

Color #D997FC in popluar color models

D997FC
RGB217151252
HSL279°94.39%79.02%
HSB/HSV279°40.08%98.82%
CMYK13.89%40.08%0.00%
1.18%

Color #D997FC in popluar number systems.

HEXD997FC
Decimal217151252
Binary110110011001011111111100
Octal331227374

Shades and tints

Shades of #D997FC

#D997FC
(217,151,252)
#C68AE6
(198,138,230)
#B37DD0
(179,125,208)
#A070BA
(160,112,186)
#8D63A4
(141,99,164)
#7A568E
(122,86,142)
#674978
(103,73,120)
#543C62
(84,60,98)
#412F4C
(65,47,76)
#2E2236
(46,34,54)
#1B1520
(27,21,32)
#000000
(0,0,0)

Tints of #D997FC

#D997FC
(217,151,252)
#DCA0FC
(220,160,252)
#DFA9FC
(223,169,252)
#E2B2FC
(226,178,252)
#E5BBFC
(229,187,252)
#E8C4FC
(232,196,252)
#EBCDFC
(235,205,252)
#EED6FC
(238,214,252)
#F1DFFC
(241,223,252)
#F4E8FC
(244,232,252)
#F7F1FC
(247,241,252)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D997FC color. Also use rgb(217,151,252) instead hex code.

Text Font Color

.myTextColor { color: #D997FC; }

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

This text font color is #D997FC.


Background Color

.myBgColor { background-color: #D997FC; }

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

This div background color is #D997FC.


Border color

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

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

This div border color is #D997FC.


Opacity

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

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

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

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

This text has shadow with #D997FC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D997FC on black background.


Color preview on white background

This text has color #D997FC on white background.



Black color preview on #D997FC background

This text has black color on #D997FC background.


White color preview on #D997FC background

This text has white color on #D997FC background.