COLOR #A21F1F

HEX: #A21F1F
RGB: (162,31,31)

Color info

#A21F1F contains mainly red color. Web safe color of #A21F1F is #993333 (or #933).

RGB color model

#A21F1F color RGB value is (162,31,31).

  • red value is 162;
  • green value is 31;
  • blue value is 31.
RGB:
(162,31,31)
(64%,12%,12%)

RGB channels and saturation

R 162 of 255 = 64%
G 31 of 255 = 12%
B 31 of 255 = 12%

162
31
31

R + G + B ~ 29%. #A21F1F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
162 + 31 + 31 = 224 (100%)
R 162 of 224 ~ 72.32%
G 31 of 224 ~ 13.84%
B 31 of 224 ~ 13.84%

%72.32
%13.84
%13.84

CMYK color model

#A21F1F color CMYK value is (0,81,81,36).

  • cyan value is 0.00%
  • magenta value is 80.86%
  • yellow value is 80.86%
  • key color value is 36.47%
CMYK:
(0,81,81,36)
C0M81Y81K36 
(0%,81%,81%,36%)
(0.00/0.81/0.81/0.36)	

CMYK percentages

%0
%80.86
%80.86
%36.47

Codes

Color #A21F1F in popluar color models

A21F1F
RGB1623131
HSL67.88%37.84%
HSB/HSV80.86%63.53%
CMYK0.00%80.86%80.86%
36.47%

Color #A21F1F in popluar number systems.

HEXA21F1F
Decimal1623131
Binary101000101111111111
Octal2423737

Shades and tints

Shades of #A21F1F

#A21F1F
(162,31,31)
#941D1D
(148,29,29)
#861B1B
(134,27,27)
#781919
(120,25,25)
#6A1717
(106,23,23)
#5C1515
(92,21,21)
#4E1313
(78,19,19)
#401111
(64,17,17)
#320F0F
(50,15,15)
#240D0D
(36,13,13)
#160B0B
(22,11,11)
#000000
(0,0,0)

Tints of #A21F1F

#A21F1F
(162,31,31)
#AA3333
(170,51,51)
#B24747
(178,71,71)
#BA5B5B
(186,91,91)
#C26F6F
(194,111,111)
#CA8383
(202,131,131)
#D29797
(210,151,151)
#DAABAB
(218,171,171)
#E2BFBF
(226,191,191)
#EAD3D3
(234,211,211)
#F2E7E7
(242,231,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A21F1F; }

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

This text font color is #A21F1F.


Background Color

.myBgColor { background-color: #A21F1F; }

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

This div background color is #A21F1F.


Border color

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

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

This div border color is #A21F1F.


Opacity

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

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

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

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

This text has shadow with #A21F1F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A21F1F on black background.


Color preview on white background

This text has color #A21F1F on white background.



Black color preview on #A21F1F background

This text has black color on #A21F1F background.


White color preview on #A21F1F background

This text has white color on #A21F1F background.