COLOR #D40D2E

HEX: #D40D2E
RGB: (212,13,46)

Color info

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

RGB color model

#D40D2E color RGB value is (212,13,46).

  • red value is 212;
  • green value is 13;
  • blue value is 46.
RGB:
(212,13,46)
(83%,5%,18%)

RGB channels and saturation

R 212 of 255 = 83%
G 13 of 255 = 5%
B 46 of 255 = 18%

212
13
46

R + G + B ~ 35%. #D40D2E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
212 + 13 + 46 = 271 (100%)
R 212 of 271 ~ 78.23%
G 13 of 271 ~ 4.8%
B 46 of 271 ~ 16.97%

%78.23
%16.97

CMYK color model

#D40D2E color CMYK value is (0,94,78,17).

  • cyan value is 0.00%
  • magenta value is 93.87%
  • yellow value is 78.30%
  • key color value is 16.86%
CMYK:
(0,94,78,17)
C0M94Y78K17 
(0%,94%,78%,17%)
(0.00/0.94/0.78/0.17)	

CMYK percentages

%0
%93.87
%78.3
%16.86

Codes

Color #D40D2E in popluar color models

D40D2E
RGB2121346
HSL350°88.44%44.12%
HSB/HSV350°93.87%83.14%
CMYK0.00%93.87%78.30%
16.86%

Color #D40D2E in popluar number systems.

HEXD40D2E
Decimal2121346
Binary110101001101101110
Octal3241556

Shades and tints

Shades of #D40D2E

#D40D2E
(212,13,46)
#C10C2A
(193,12,42)
#AE0B26
(174,11,38)
#9B0A22
(155,10,34)
#88091E
(136,9,30)
#75081A
(117,8,26)
#620716
(98,7,22)
#4F0612
(79,6,18)
#3C050E
(60,5,14)
#29040A
(41,4,10)
#160306
(22,3,6)
#000000
(0,0,0)

Tints of #D40D2E

#D40D2E
(212,13,46)
#D72341
(215,35,65)
#DA3954
(218,57,84)
#DD4F67
(221,79,103)
#E0657A
(224,101,122)
#E37B8D
(227,123,141)
#E691A0
(230,145,160)
#E9A7B3
(233,167,179)
#ECBDC6
(236,189,198)
#EFD3D9
(239,211,217)
#F2E9EC
(242,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D40D2E color. Also use rgb(212,13,46) instead hex code.

Text Font Color

.myTextColor { color: #D40D2E; }

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

This text font color is #D40D2E.


Background Color

.myBgColor { background-color: #D40D2E; }

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

This div background color is #D40D2E.


Border color

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

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

This div border color is #D40D2E.


Opacity

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

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

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

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

This text has shadow with #D40D2E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D40D2E on black background.


Color preview on white background

This text has color #D40D2E on white background.



Black color preview on #D40D2E background

This text has black color on #D40D2E background.


White color preview on #D40D2E background

This text has white color on #D40D2E background.