COLOR #D31142

HEX: #D31142
RGB: (211,17,66)

Color info

#D31142 contains mainly red color. Web safe color of #D31142 is #CC0033 (or #C03).

RGB color model

#D31142 color RGB value is (211,17,66).

  • red value is 211;
  • green value is 17;
  • blue value is 66.
RGB:
(211,17,66)
(83%,7%,26%)

RGB channels and saturation

R 211 of 255 = 83%
G 17 of 255 = 7%
B 66 of 255 = 26%

211
17
66

R + G + B ~ 39%. #D31142 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
211 + 17 + 66 = 294 (100%)
R 211 of 294 ~ 71.77%
G 17 of 294 ~ 5.78%
B 66 of 294 ~ 22.45%

%71.77
%22.45

CMYK color model

#D31142 color CMYK value is (0,92,69,17).

  • cyan value is 0.00%
  • magenta value is 91.94%
  • yellow value is 68.72%
  • key color value is 17.25%
CMYK:
(0,92,69,17)
C0M92Y69K17 
(0%,92%,69%,17%)
(0.00/0.92/0.69/0.17)	

CMYK percentages

%0
%91.94
%68.72
%17.25

Codes

Color #D31142 in popluar color models

D31142
RGB2111766
HSL345°85.09%44.71%
HSB/HSV345°91.94%82.75%
CMYK0.00%91.94%68.72%
17.25%

Color #D31142 in popluar number systems.

HEXD31142
Decimal2111766
Binary11010011100011000010
Octal32321102

Shades and tints

Shades of #D31142

#D31142
(211,17,66)
#C0103C
(192,16,60)
#AD0F36
(173,15,54)
#9A0E30
(154,14,48)
#870D2A
(135,13,42)
#740C24
(116,12,36)
#610B1E
(97,11,30)
#4E0A18
(78,10,24)
#3B0912
(59,9,18)
#28080C
(40,8,12)
#150706
(21,7,6)
#000000
(0,0,0)

Tints of #D31142

#D31142
(211,17,66)
#D72653
(215,38,83)
#DB3B64
(219,59,100)
#DF5075
(223,80,117)
#E36586
(227,101,134)
#E77A97
(231,122,151)
#EB8FA8
(235,143,168)
#EFA4B9
(239,164,185)
#F3B9CA
(243,185,202)
#F7CEDB
(247,206,219)
#FBE3EC
(251,227,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D31142 color. Also use rgb(211,17,66) instead hex code.

Text Font Color

.myTextColor { color: #D31142; }

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

This text font color is #D31142.


Background Color

.myBgColor { background-color: #D31142; }

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

This div background color is #D31142.


Border color

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

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

This div border color is #D31142.


Opacity

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

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

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

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

This text has shadow with #D31142 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D31142 on black background.


Color preview on white background

This text has color #D31142 on white background.



Black color preview on #D31142 background

This text has black color on #D31142 background.


White color preview on #D31142 background

This text has white color on #D31142 background.