COLOR #D987CC

HEX: #D987CC RGB: (217,135,204)

Color info

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

RGB color model

#D987CC color RGB value is (217,135,204).

RGB: (217,135,204) (85%, 53%, 80%)

RGB channels and saturation

R 217 of 255 = 85%
G 135 of 255 = 53%
B 204 of 255 = 80%

217
135
204

R + G + B ~ 73%. #D987CC is quite light color.

Portions of RGB colors in percentages

R + G + B = 217 + 135 + 204 = 556 (100%)
R 217 of 556 ~ 39.03%
G 135 of 556 ~ 24.28%
B 204 of 556 ~ 36.69'%

%39.03
%24.28
%36.69

CMYK color model

#D987CC color CMYK value is (0,38,6,15).

  • cyan value is 0.00%
  • magenta value is 37.79%
  • yellow value is 5.99%
  • key color value is 14.90%

CMYK: (0,38,6,15)
C0M38Y6K15 (0%, 38%, 6%, 15%)
(0.00 / 0.38 / 0.06 / 0.15)

CMYK percentages

%0
%37.79
%5.99
%14.9

Codes

Color #D987CC in popluar color models

D9 87 CC
RGB 217 135 204
HSL 310° 51.90% 69.02%
HSB/HSV 310° 37.79% 85.10%
CMYK 0.00% 37.79% 5.99%
14.90%

Color #D987CC in popluar number systems.

HEX D9 87 CC
Decimal 217 135 204
Binary 11011001 10000111 11001100
Octal 331 207 314

Shades and tints

Shades of #D987CC

#D987CC
(217,135,204)
#C67BBA
(198,123,186)
#B36FA8
(179,111,168)
#A06396
(160,99,150)
#8D5784
(141,87,132)
#7A4B72
(122,75,114)
#673F60
(103,63,96)
#54334E
(84,51,78)
#41273C
(65,39,60)
#2E1B2A
(46,27,42)
#1B0F18
(27,15,24)
#000000
(0,0,0)

Tints of #D987CC

#D987CC
(217,135,204)
#DC91D0
(220,145,208)
#DF9BD4
(223,155,212)
#E2A5D8
(226,165,216)
#E5AFDC
(229,175,220)
#E8B9E0
(232,185,224)
#EBC3E4
(235,195,228)
#EECDE8
(238,205,232)
#F1D7EC
(241,215,236)
#F4E1F0
(244,225,240)
#F7EBF4
(247,235,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D987CC color. Also use rgb(217,135,204) instead hex code.

Text Font Color

.myTextColor { color: #D987CC; }

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

This text font color is #D987CC.

Background Color

.myBgColor { background-color: #D987CC; }

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

This div background color is #D987CC.

Border color

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

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

This div border color is #D987CC.

Opacity

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

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

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

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

This text has shadow with #D987CC color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #D987CC.

Preview

Color preview on black background

This text has color #D987CC on black background.


Color preview on white background

This text has color #D987CC on white background.


Black color preview on #D987CC background

This text has black color on #D987CC background.


White color preview on #D987CC background

This text has white color on #D987CC background.


Related colors

Complementary color

Complementary color for #hex is #267833.


I love getcolorcode.com

Triadic colors

1 #CCD987 and #87CCD9 with #D987CC are triadic colors.

2 #CC87D9 and #87D9CC with #D987CC are triadic colors.