COLOR #D997DA

HEX: #D997DA RGB: (217,151,218)

Color info

#D997DA contains mainly red and blue colors. Web safe color of #D997DA is #CC99CC (or #C9C).

RGB color model

#D997DA color RGB value is (217,151,218).

RGB: (217,151,218) (85%, 59%, 85%)

RGB channels and saturation

R 217 of 255 = 85%
G 151 of 255 = 59%
B 218 of 255 = 85%

217
151
218

R + G + B ~ 76%. #D997DA is quite light color.

Portions of RGB colors in percentages

R + G + B = 217 + 151 + 218 = 586 (100%)
R 217 of 586 ~ 37.03%
G 151 of 586 ~ 25.77%
B 218 of 586 ~ 37.2'%

%37.03
%25.77
%37.2

CMYK color model

#D997DA color CMYK value is (0,31,0,15).

  • cyan value is 0.46%
  • magenta value is 30.73%
  • yellow value is 0.00%
  • key color value is 14.51%

CMYK: (0,31,0,15)
C0M31Y0K15 (0%, 31%, 0%, 15%)
(0.00 / 0.31 / 0.00 / 0.15)

CMYK percentages

%0.46
%30.73
%0
%14.51

Codes

Color #D997DA in popluar color models

D9 97 DA
RGB 217 151 218
HSL 299° 47.52% 72.35%
HSB/HSV 299° 30.73% 85.49%
CMYK 0.46% 30.73% 0.00%
14.51%

Color #D997DA in popluar number systems.

HEX D9 97 DA
Decimal 217 151 218
Binary 11011001 10010111 11011010
Octal 331 227 332

Shades and tints

Shades of #D997DA

#D997DA
(217,151,218)
#C68AC7
(198,138,199)
#B37DB4
(179,125,180)
#A070A1
(160,112,161)
#8D638E
(141,99,142)
#7A567B
(122,86,123)
#674968
(103,73,104)
#543C55
(84,60,85)
#412F42
(65,47,66)
#2E222F
(46,34,47)
#1B151C
(27,21,28)
#000000
(0,0,0)

Tints of #D997DA

#D997DA
(217,151,218)
#DCA0DD
(220,160,221)
#DFA9E0
(223,169,224)
#E2B2E3
(226,178,227)
#E5BBE6
(229,187,230)
#E8C4E9
(232,196,233)
#EBCDEC
(235,205,236)
#EED6EF
(238,214,239)
#F1DFF2
(241,223,242)
#F4E8F5
(244,232,245)
#F7F1F8
(247,241,248)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #D997DA; }

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

This text font color is #D997DA.

Background Color

.myBgColor { background-color: #D997DA; }

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

This div background color is #D997DA.

Border color

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

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

This div border color is #D997DA.

Opacity

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

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

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

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

This text has shadow with #D997DA color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D997DA.

Preview

Color preview on black background

This text has color #D997DA on black background.


Color preview on white background

This text has color #D997DA on white background.


Black color preview on #D997DA background

This text has black color on #D997DA background.


White color preview on #D997DA background

This text has white color on #D997DA background.


Related colors

Complementary color

Complementary color for #hex is #266825.


I love getcolorcode.com

Triadic colors

1 #DAD997 and #97DAD9 with #D997DA are triadic colors.

2 #DA97D9 and #97D9DA with #D997DA are triadic colors.