COLOR #D4012C

HEX: #D4012C
RGB: (212,1,44)

Color info

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

RGB color model

#D4012C color RGB value is (212,1,44).

  • red value is 212;
  • green value is 1;
  • blue value is 44.
RGB:
(212,1,44)
(83%,0%,17%)

RGB channels and saturation

R 212 of 255 = 83%
G 1 of 255 = 0%
B 44 of 255 = 17%

212
1
44

R + G + B ~ 33%. #D4012C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
212 + 1 + 44 = 257 (100%)
R 212 of 257 ~ 82.49%
G 1 of 257 ~ 0.39%
B 44 of 257 ~ 17.12%

%82.49
%17.12

CMYK color model

#D4012C color CMYK value is (0,100,79,17).

  • cyan value is 0.00%
  • magenta value is 99.53%
  • yellow value is 79.25%
  • key color value is 16.86%
CMYK:
(0,100,79,17)
C0M100Y79K17 
(0%,100%,79%,17%)
(0.00/1.00/0.79/0.17)	

CMYK percentages

%0
%99.53
%79.25
%16.86

Codes

Color #D4012C in popluar color models

D4012C
RGB212144
HSL348°99.06%41.76%
HSB/HSV348°99.53%83.14%
CMYK0.00%99.53%79.25%
16.86%

Color #D4012C in popluar number systems.

HEXD4012C
Decimal212144
Binary110101001101100
Octal324154

Shades and tints

Shades of #D4012C

#D4012C
(212,1,44)
#C10128
(193,1,40)
#AE0124
(174,1,36)
#9B0120
(155,1,32)
#88011C
(136,1,28)
#750118
(117,1,24)
#620114
(98,1,20)
#4F0110
(79,1,16)
#3C010C
(60,1,12)
#290108
(41,1,8)
#160104
(22,1,4)
#000000
(0,0,0)

Tints of #D4012C

#D4012C
(212,1,44)
#D7183F
(215,24,63)
#DA2F52
(218,47,82)
#DD4665
(221,70,101)
#E05D78
(224,93,120)
#E3748B
(227,116,139)
#E68B9E
(230,139,158)
#E9A2B1
(233,162,177)
#ECB9C4
(236,185,196)
#EFD0D7
(239,208,215)
#F2E7EA
(242,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D4012C color. Also use rgb(212,1,44) instead hex code.

Text Font Color

.myTextColor { color: #D4012C; }

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

This text font color is #D4012C.


Background Color

.myBgColor { background-color: #D4012C; }

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

This div background color is #D4012C.


Border color

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

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

This div border color is #D4012C.


Opacity

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

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

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

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

This text has shadow with #D4012C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D4012C on black background.


Color preview on white background

This text has color #D4012C on white background.



Black color preview on #D4012C background

This text has black color on #D4012C background.


White color preview on #D4012C background

This text has white color on #D4012C background.