COLOR #B21242

HEX: #B21242
RGB: (178,18,66)

Color info

#B21242 contains mainly red color. Web safe color of #B21242 is #990033 (or #903).

RGB color model

#B21242 color RGB value is (178,18,66).

  • red value is 178;
  • green value is 18;
  • blue value is 66.
RGB:
(178,18,66)
(70%,7%,26%)

RGB channels and saturation

R 178 of 255 = 70%
G 18 of 255 = 7%
B 66 of 255 = 26%

178
18
66

R + G + B ~ 34%. #B21242 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
178 + 18 + 66 = 262 (100%)
R 178 of 262 ~ 67.94%
G 18 of 262 ~ 6.87%
B 66 of 262 ~ 25.19%

%67.94
%25.19

CMYK color model

#B21242 color CMYK value is (0,90,63,30).

  • cyan value is 0.00%
  • magenta value is 89.89%
  • yellow value is 62.92%
  • key color value is 30.20%
CMYK:
(0,90,63,30)
C0M90Y63K30 
(0%,90%,63%,30%)
(0.00/0.90/0.63/0.30)	

CMYK percentages

%0
%89.89
%62.92
%30.2

Codes

Color #B21242 in popluar color models

B21242
RGB1781866
HSL342°81.63%38.43%
HSB/HSV342°89.89%69.80%
CMYK0.00%89.89%62.92%
30.20%

Color #B21242 in popluar number systems.

HEXB21242
Decimal1781866
Binary10110010100101000010
Octal26222102

Shades and tints

Shades of #B21242

#B21242
(178,18,66)
#A2113C
(162,17,60)
#921036
(146,16,54)
#820F30
(130,15,48)
#720E2A
(114,14,42)
#620D24
(98,13,36)
#520C1E
(82,12,30)
#420B18
(66,11,24)
#320A12
(50,10,18)
#22090C
(34,9,12)
#120806
(18,8,6)
#000000
(0,0,0)

Tints of #B21242

#B21242
(178,18,66)
#B92753
(185,39,83)
#C03C64
(192,60,100)
#C75175
(199,81,117)
#CE6686
(206,102,134)
#D57B97
(213,123,151)
#DC90A8
(220,144,168)
#E3A5B9
(227,165,185)
#EABACA
(234,186,202)
#F1CFDB
(241,207,219)
#F8E4EC
(248,228,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #B21242 color. Also use rgb(178,18,66) instead hex code.

Text Font Color

.myTextColor { color: #B21242; }

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

This text font color is #B21242.


Background Color

.myBgColor { background-color: #B21242; }

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

This div background color is #B21242.


Border color

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

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

This div border color is #B21242.


Opacity

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

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

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

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

This text has shadow with #B21242 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #B21242 on black background.


Color preview on white background

This text has color #B21242 on white background.



Black color preview on #B21242 background

This text has black color on #B21242 background.


White color preview on #B21242 background

This text has white color on #B21242 background.