COLOR #D31F1E

HEX: #D31F1E
RGB: (211,31,30)

Color info

#D31F1E contains mainly red color. Web safe color of #D31F1E is #CC3333 (or #C33).

RGB color model

#D31F1E color RGB value is (211,31,30).

  • red value is 211;
  • green value is 31;
  • blue value is 30.
RGB:
(211,31,30)
(83%,12%,12%)

RGB channels and saturation

R 211 of 255 = 83%
G 31 of 255 = 12%
B 30 of 255 = 12%

211
31
30

R + G + B ~ 36%. #D31F1E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
211 + 31 + 30 = 272 (100%)
R 211 of 272 ~ 77.57%
G 31 of 272 ~ 11.4%
B 30 of 272 ~ 11.03%

%77.57
%11.4
%11.03

CMYK color model

#D31F1E color CMYK value is (0,85,86,17).

  • cyan value is 0.00%
  • magenta value is 85.31%
  • yellow value is 85.78%
  • key color value is 17.25%
CMYK:
(0,85,86,17)
C0M85Y86K17 
(0%,85%,86%,17%)
(0.00/0.85/0.86/0.17)	

CMYK percentages

%0
%85.31
%85.78
%17.25

Codes

Color #D31F1E in popluar color models

D31F1E
RGB2113130
HSL75.10%47.25%
HSB/HSV85.78%82.75%
CMYK0.00%85.31%85.78%
17.25%

Color #D31F1E in popluar number systems.

HEXD31F1E
Decimal2113130
Binary110100111111111110
Octal3233736

Shades and tints

Shades of #D31F1E

#D31F1E
(211,31,30)
#C01D1C
(192,29,28)
#AD1B1A
(173,27,26)
#9A1918
(154,25,24)
#871716
(135,23,22)
#741514
(116,21,20)
#611312
(97,19,18)
#4E1110
(78,17,16)
#3B0F0E
(59,15,14)
#280D0C
(40,13,12)
#150B0A
(21,11,10)
#000000
(0,0,0)

Tints of #D31F1E

#D31F1E
(211,31,30)
#D73332
(215,51,50)
#DB4746
(219,71,70)
#DF5B5A
(223,91,90)
#E36F6E
(227,111,110)
#E78382
(231,131,130)
#EB9796
(235,151,150)
#EFABAA
(239,171,170)
#F3BFBE
(243,191,190)
#F7D3D2
(247,211,210)
#FBE7E6
(251,231,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D31F1E color. Also use rgb(211,31,30) instead hex code.

Text Font Color

.myTextColor { color: #D31F1E; }

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

This text font color is #D31F1E.


Background Color

.myBgColor { background-color: #D31F1E; }

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

This div background color is #D31F1E.


Border color

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

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

This div border color is #D31F1E.


Opacity

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

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

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

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

This text has shadow with #D31F1E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D31F1E on black background.


Color preview on white background

This text has color #D31F1E on white background.



Black color preview on #D31F1E background

This text has black color on #D31F1E background.


White color preview on #D31F1E background

This text has white color on #D31F1E background.