COLOR #D8408C

HEX: #D8408C
RGB: (216,64,140)

Color info

#D8408C contains mainly red color. Web safe color of #D8408C is #CC3399 (or #C39).

RGB color model

#D8408C color RGB value is (216,64,140).

  • red value is 216;
  • green value is 64;
  • blue value is 140.
RGB:
(216,64,140)
(85%,25%,55%)

RGB channels and saturation

R 216 of 255 = 85%
G 64 of 255 = 25%
B 140 of 255 = 55%

216
64
140

R + G + B ~ 55%. #D8408C is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
216 + 64 + 140 = 420 (100%)
R 216 of 420 ~ 51.43%
G 64 of 420 ~ 15.24%
B 140 of 420 ~ 33.33%

%51.43
%15.24
%33.33

CMYK color model

#D8408C color CMYK value is (0,70,35,15).

  • cyan value is 0.00%
  • magenta value is 70.37%
  • yellow value is 35.19%
  • key color value is 15.29%
CMYK:
(0,70,35,15)
C0M70Y35K15 
(0%,70%,35%,15%)
(0.00/0.70/0.35/0.15)	

CMYK percentages

%0
%70.37
%35.19
%15.29

Codes

Color #D8408C in popluar color models

D8408C
RGB21664140
HSL330°66.09%54.90%
HSB/HSV330°70.37%84.71%
CMYK0.00%70.37%35.19%
15.29%

Color #D8408C in popluar number systems.

HEXD8408C
Decimal21664140
Binary11011000100000010001100
Octal330100214

Shades and tints

Shades of #D8408C

#D8408C
(216,64,140)
#C53B80
(197,59,128)
#B23674
(178,54,116)
#9F3168
(159,49,104)
#8C2C5C
(140,44,92)
#792750
(121,39,80)
#662244
(102,34,68)
#531D38
(83,29,56)
#40182C
(64,24,44)
#2D1320
(45,19,32)
#1A0E14
(26,14,20)
#000000
(0,0,0)

Tints of #D8408C

#D8408C
(216,64,140)
#DB5196
(219,81,150)
#DE62A0
(222,98,160)
#E173AA
(225,115,170)
#E484B4
(228,132,180)
#E795BE
(231,149,190)
#EAA6C8
(234,166,200)
#EDB7D2
(237,183,210)
#F0C8DC
(240,200,220)
#F3D9E6
(243,217,230)
#F6EAF0
(246,234,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D8408C color. Also use rgb(216,64,140) instead hex code.

Text Font Color

.myTextColor { color: #D8408C; }

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

This text font color is #D8408C.


Background Color

.myBgColor { background-color: #D8408C; }

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

This div background color is #D8408C.


Border color

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

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

This div border color is #D8408C.


Opacity

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

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

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

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

This text has shadow with #D8408C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D8408C on black background.


Color preview on white background

This text has color #D8408C on white background.



Black color preview on #D8408C background

This text has black color on #D8408C background.


White color preview on #D8408C background

This text has white color on #D8408C background.