COLOR #B21148

HEX: #B21148
RGB: (178,17,72)

Color info

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

RGB color model

#B21148 color RGB value is (178,17,72).

  • red value is 178;
  • green value is 17;
  • blue value is 72.
RGB:
(178,17,72)
(70%,7%,28%)

RGB channels and saturation

R 178 of 255 = 70%
G 17 of 255 = 7%
B 72 of 255 = 28%

178
17
72

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

Portions of RGB colors in percentages

R + G + B =
178 + 17 + 72 = 267 (100%)
R 178 of 267 ~ 66.67%
G 17 of 267 ~ 6.37%
B 72 of 267 ~ 26.97%

%66.67
%26.97

CMYK color model

#B21148 color CMYK value is (0,90,60,30).

  • cyan value is 0.00%
  • magenta value is 90.45%
  • yellow value is 59.55%
  • key color value is 30.20%
CMYK:
(0,90,60,30)
C0M90Y60K30 
(0%,90%,60%,30%)
(0.00/0.90/0.60/0.30)	

CMYK percentages

%0
%90.45
%59.55
%30.2

Codes

Color #B21148 in popluar color models

B21148
RGB1781772
HSL340°82.56%38.24%
HSB/HSV340°90.45%69.80%
CMYK0.00%90.45%59.55%
30.20%

Color #B21148 in popluar number systems.

HEXB21148
Decimal1781772
Binary10110010100011001000
Octal26221110

Shades and tints

Shades of #B21148

#B21148
(178,17,72)
#A21042
(162,16,66)
#920F3C
(146,15,60)
#820E36
(130,14,54)
#720D30
(114,13,48)
#620C2A
(98,12,42)
#520B24
(82,11,36)
#420A1E
(66,10,30)
#320918
(50,9,24)
#220812
(34,8,18)
#12070C
(18,7,12)
#000000
(0,0,0)

Tints of #B21148

#B21148
(178,17,72)
#B92658
(185,38,88)
#C03B68
(192,59,104)
#C75078
(199,80,120)
#CE6588
(206,101,136)
#D57A98
(213,122,152)
#DC8FA8
(220,143,168)
#E3A4B8
(227,164,184)
#EAB9C8
(234,185,200)
#F1CED8
(241,206,216)
#F8E3E8
(248,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #B21148 color. Also use rgb(178,17,72) instead hex code.

Text Font Color

.myTextColor { color: #B21148; }

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

This text font color is #B21148.


Background Color

.myBgColor { background-color: #B21148; }

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

This div background color is #B21148.


Border color

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

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

This div border color is #B21148.


Opacity

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

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

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

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

This text has shadow with #B21148 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #B21148 on black background.


Color preview on white background

This text has color #B21148 on white background.



Black color preview on #B21148 background

This text has black color on #B21148 background.


White color preview on #B21148 background

This text has white color on #B21148 background.