COLOR #D40957

HEX: #D40957
RGB: (212,9,87)

Color info

#D40957 contains mainly red color. Web safe color of #D40957 is #CC0066 (or #C06).

RGB color model

#D40957 color RGB value is (212,9,87).

  • red value is 212;
  • green value is 9;
  • blue value is 87.
RGB:
(212,9,87)
(83%,4%,34%)

RGB channels and saturation

R 212 of 255 = 83%
G 9 of 255 = 4%
B 87 of 255 = 34%

212
9
87

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

Portions of RGB colors in percentages

R + G + B =
212 + 9 + 87 = 308 (100%)
R 212 of 308 ~ 68.83%
G 9 of 308 ~ 2.92%
B 87 of 308 ~ 28.25%

%68.83
%28.25

CMYK color model

#D40957 color CMYK value is (0,96,59,17).

  • cyan value is 0.00%
  • magenta value is 95.75%
  • yellow value is 58.96%
  • key color value is 16.86%
CMYK:
(0,96,59,17)
C0M96Y59K17 
(0%,96%,59%,17%)
(0.00/0.96/0.59/0.17)	

CMYK percentages

%0
%95.75
%58.96
%16.86

Codes

Color #D40957 in popluar color models

D40957
RGB212987
HSL337°91.86%43.33%
HSB/HSV337°95.75%83.14%
CMYK0.00%95.75%58.96%
16.86%

Color #D40957 in popluar number systems.

HEXD40957
Decimal212987
Binary1101010010011010111
Octal32411127

Shades and tints

Shades of #D40957

#D40957
(212,9,87)
#C10950
(193,9,80)
#AE0949
(174,9,73)
#9B0942
(155,9,66)
#88093B
(136,9,59)
#750934
(117,9,52)
#62092D
(98,9,45)
#4F0926
(79,9,38)
#3C091F
(60,9,31)
#290918
(41,9,24)
#160911
(22,9,17)
#000000
(0,0,0)

Tints of #D40957

#D40957
(212,9,87)
#D71F66
(215,31,102)
#DA3575
(218,53,117)
#DD4B84
(221,75,132)
#E06193
(224,97,147)
#E377A2
(227,119,162)
#E68DB1
(230,141,177)
#E9A3C0
(233,163,192)
#ECB9CF
(236,185,207)
#EFCFDE
(239,207,222)
#F2E5ED
(242,229,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D40957 color. Also use rgb(212,9,87) instead hex code.

Text Font Color

.myTextColor { color: #D40957; }

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

This text font color is #D40957.


Background Color

.myBgColor { background-color: #D40957; }

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

This div background color is #D40957.


Border color

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

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

This div border color is #D40957.


Opacity

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

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

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

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

This text has shadow with #D40957 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D40957 on black background.


Color preview on white background

This text has color #D40957 on white background.



Black color preview on #D40957 background

This text has black color on #D40957 background.


White color preview on #D40957 background

This text has white color on #D40957 background.