COLOR #D878A7

HEX: #D878A7
RGB: (216,120,167)

Color info

#D878A7 contains mainly red and blue colors. Web safe color of #D878A7 is #CC6699 (or #C69).

RGB color model

#D878A7 color RGB value is (216,120,167).

  • red value is 216;
  • green value is 120;
  • blue value is 167.
RGB:
(216,120,167)
(85%,47%,65%)

RGB channels and saturation

R 216 of 255 = 85%
G 120 of 255 = 47%
B 167 of 255 = 65%

216
120
167

R + G + B ~ 66%. #D878A7 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 120 + 167 = 503 (100%)
R 216 of 503 ~ 42.94%
G 120 of 503 ~ 23.86%
B 167 of 503 ~ 33.2%

%42.94
%23.86
%33.2

CMYK color model

#D878A7 color CMYK value is (0,44,23,15).

  • cyan value is 0.00%
  • magenta value is 44.44%
  • yellow value is 22.69%
  • key color value is 15.29%
CMYK:
(0,44,23,15)
C0M44Y23K15 
(0%,44%,23%,15%)
(0.00/0.44/0.23/0.15)	

CMYK percentages

%0
%44.44
%22.69
%15.29

Codes

Color #D878A7 in popluar color models

D878A7
RGB216120167
HSL331°55.17%65.88%
HSB/HSV331°44.44%84.71%
CMYK0.00%44.44%22.69%
15.29%

Color #D878A7 in popluar number systems.

HEXD878A7
Decimal216120167
Binary11011000111100010100111
Octal330170247

Shades and tints

Shades of #D878A7

#D878A7
(216,120,167)
#C56E98
(197,110,152)
#B26489
(178,100,137)
#9F5A7A
(159,90,122)
#8C506B
(140,80,107)
#79465C
(121,70,92)
#663C4D
(102,60,77)
#53323E
(83,50,62)
#40282F
(64,40,47)
#2D1E20
(45,30,32)
#1A1411
(26,20,17)
#000000
(0,0,0)

Tints of #D878A7

#D878A7
(216,120,167)
#DB84AF
(219,132,175)
#DE90B7
(222,144,183)
#E19CBF
(225,156,191)
#E4A8C7
(228,168,199)
#E7B4CF
(231,180,207)
#EAC0D7
(234,192,215)
#EDCCDF
(237,204,223)
#F0D8E7
(240,216,231)
#F3E4EF
(243,228,239)
#F6F0F7
(246,240,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D878A7 color. Also use rgb(216,120,167) instead hex code.

Text Font Color

.myTextColor { color: #D878A7; }

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

This text font color is #D878A7.


Background Color

.myBgColor { background-color: #D878A7; }

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

This div background color is #D878A7.


Border color

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

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

This div border color is #D878A7.


Opacity

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

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

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

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

This text has shadow with #D878A7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D878A7 on black background.


Color preview on white background

This text has color #D878A7 on white background.



Black color preview on #D878A7 background

This text has black color on #D878A7 background.


White color preview on #D878A7 background

This text has white color on #D878A7 background.