COLOR #D51A21

HEX: #D51A21
RGB: (213,26,33)

Color info

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

RGB color model

#D51A21 color RGB value is (213,26,33).

  • red value is 213;
  • green value is 26;
  • blue value is 33.
RGB:
(213,26,33)
(84%,10%,13%)

RGB channels and saturation

R 213 of 255 = 84%
G 26 of 255 = 10%
B 33 of 255 = 13%

213
26
33

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

Portions of RGB colors in percentages

R + G + B =
213 + 26 + 33 = 272 (100%)
R 213 of 272 ~ 78.31%
G 26 of 272 ~ 9.56%
B 33 of 272 ~ 12.13%

%78.31
%9.56
%12.13

CMYK color model

#D51A21 color CMYK value is (0,88,85,16).

  • cyan value is 0.00%
  • magenta value is 87.79%
  • yellow value is 84.51%
  • key color value is 16.47%
CMYK:
(0,88,85,16)
C0M88Y85K16 
(0%,88%,85%,16%)
(0.00/0.88/0.85/0.16)	

CMYK percentages

%0
%87.79
%84.51
%16.47

Codes

Color #D51A21 in popluar color models

D51A21
RGB2132633
HSL358°78.24%46.86%
HSB/HSV358°87.79%83.53%
CMYK0.00%87.79%84.51%
16.47%

Color #D51A21 in popluar number systems.

HEXD51A21
Decimal2132633
Binary1101010111010100001
Octal3253241

Shades and tints

Shades of #D51A21

#D51A21
(213,26,33)
#C2181E
(194,24,30)
#AF161B
(175,22,27)
#9C1418
(156,20,24)
#891215
(137,18,21)
#761012
(118,16,18)
#630E0F
(99,14,15)
#500C0C
(80,12,12)
#3D0A09
(61,10,9)
#2A0806
(42,8,6)
#170603
(23,6,3)
#000000
(0,0,0)

Tints of #D51A21

#D51A21
(213,26,33)
#D82E35
(216,46,53)
#DB4249
(219,66,73)
#DE565D
(222,86,93)
#E16A71
(225,106,113)
#E47E85
(228,126,133)
#E79299
(231,146,153)
#EAA6AD
(234,166,173)
#EDBAC1
(237,186,193)
#F0CED5
(240,206,213)
#F3E2E9
(243,226,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D51A21 color. Also use rgb(213,26,33) instead hex code.

Text Font Color

.myTextColor { color: #D51A21; }

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

This text font color is #D51A21.


Background Color

.myBgColor { background-color: #D51A21; }

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

This div background color is #D51A21.


Border color

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

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

This div border color is #D51A21.


Opacity

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

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

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

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

This text has shadow with #D51A21 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D51A21 on black background.


Color preview on white background

This text has color #D51A21 on white background.



Black color preview on #D51A21 background

This text has black color on #D51A21 background.


White color preview on #D51A21 background

This text has white color on #D51A21 background.