COLOR #B21F3B

HEX: #B21F3B
RGB: (178,31,59)

Color info

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

RGB color model

#B21F3B color RGB value is (178,31,59).

  • red value is 178;
  • green value is 31;
  • blue value is 59.
RGB:
(178,31,59)
(70%,12%,23%)

RGB channels and saturation

R 178 of 255 = 70%
G 31 of 255 = 12%
B 59 of 255 = 23%

178
31
59

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

Portions of RGB colors in percentages

R + G + B =
178 + 31 + 59 = 268 (100%)
R 178 of 268 ~ 66.42%
G 31 of 268 ~ 11.57%
B 59 of 268 ~ 22.01%

%66.42
%11.57
%22.01

CMYK color model

#B21F3B color CMYK value is (0,83,67,30).

  • cyan value is 0.00%
  • magenta value is 82.58%
  • yellow value is 66.85%
  • key color value is 30.20%
CMYK:
(0,83,67,30)
C0M83Y67K30 
(0%,83%,67%,30%)
(0.00/0.83/0.67/0.30)	

CMYK percentages

%0
%82.58
%66.85
%30.2

Codes

Color #B21F3B in popluar color models

B21F3B
RGB1783159
HSL349°70.33%40.98%
HSB/HSV349°82.58%69.80%
CMYK0.00%82.58%66.85%
30.20%

Color #B21F3B in popluar number systems.

HEXB21F3B
Decimal1783159
Binary1011001011111111011
Octal2623773

Shades and tints

Shades of #B21F3B

#B21F3B
(178,31,59)
#A21D36
(162,29,54)
#921B31
(146,27,49)
#82192C
(130,25,44)
#721727
(114,23,39)
#621522
(98,21,34)
#52131D
(82,19,29)
#421118
(66,17,24)
#320F13
(50,15,19)
#220D0E
(34,13,14)
#120B09
(18,11,9)
#000000
(0,0,0)

Tints of #B21F3B

#B21F3B
(178,31,59)
#B9334C
(185,51,76)
#C0475D
(192,71,93)
#C75B6E
(199,91,110)
#CE6F7F
(206,111,127)
#D58390
(213,131,144)
#DC97A1
(220,151,161)
#E3ABB2
(227,171,178)
#EABFC3
(234,191,195)
#F1D3D4
(241,211,212)
#F8E7E5
(248,231,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #B21F3B; }

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

This text font color is #B21F3B.


Background Color

.myBgColor { background-color: #B21F3B; }

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

This div background color is #B21F3B.


Border color

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

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

This div border color is #B21F3B.


Opacity

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

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

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

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

This text has shadow with #B21F3B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #B21F3B on black background.


Color preview on white background

This text has color #B21F3B on white background.



Black color preview on #B21F3B background

This text has black color on #B21F3B background.


White color preview on #B21F3B background

This text has white color on #B21F3B background.