COLOR #B21A9D

HEX: #B21A9D
RGB: (178,26,157)

Color info

#B21A9D contains mainly red and blue colors. Web safe color of #B21A9D is #990099 (or #909).

RGB color model

#B21A9D color RGB value is (178,26,157).

  • red value is 178;
  • green value is 26;
  • blue value is 157.
RGB:
(178,26,157)
(70%,10%,62%)

RGB channels and saturation

R 178 of 255 = 70%
G 26 of 255 = 10%
B 157 of 255 = 62%

178
26
157

R + G + B ~ 47%. #B21A9D is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
178 + 26 + 157 = 361 (100%)
R 178 of 361 ~ 49.31%
G 26 of 361 ~ 7.2%
B 157 of 361 ~ 43.49%

%49.31
%43.49

CMYK color model

#B21A9D color CMYK value is (0,85,12,30).

  • cyan value is 0.00%
  • magenta value is 85.39%
  • yellow value is 11.80%
  • key color value is 30.20%
CMYK:
(0,85,12,30)
C0M85Y12K30 
(0%,85%,12%,30%)
(0.00/0.85/0.12/0.30)	

CMYK percentages

%0
%85.39
%11.8
%30.2

Codes

Color #B21A9D in popluar color models

B21A9D
RGB17826157
HSL308°74.51%40.00%
HSB/HSV308°85.39%69.80%
CMYK0.00%85.39%11.80%
30.20%

Color #B21A9D in popluar number systems.

HEXB21A9D
Decimal17826157
Binary101100101101010011101
Octal26232235

Shades and tints

Shades of #B21A9D

#B21A9D
(178,26,157)
#A2188F
(162,24,143)
#921681
(146,22,129)
#821473
(130,20,115)
#721265
(114,18,101)
#621057
(98,16,87)
#520E49
(82,14,73)
#420C3B
(66,12,59)
#320A2D
(50,10,45)
#22081F
(34,8,31)
#120611
(18,6,17)
#000000
(0,0,0)

Tints of #B21A9D

#B21A9D
(178,26,157)
#B92EA5
(185,46,165)
#C042AD
(192,66,173)
#C756B5
(199,86,181)
#CE6ABD
(206,106,189)
#D57EC5
(213,126,197)
#DC92CD
(220,146,205)
#E3A6D5
(227,166,213)
#EABADD
(234,186,221)
#F1CEE5
(241,206,229)
#F8E2ED
(248,226,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #B21A9D color. Also use rgb(178,26,157) instead hex code.

Text Font Color

.myTextColor { color: #B21A9D; }

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

This text font color is #B21A9D.


Background Color

.myBgColor { background-color: #B21A9D; }

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

This div background color is #B21A9D.


Border color

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

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

This div border color is #B21A9D.


Opacity

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

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

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

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

This text has shadow with #B21A9D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #B21A9D on black background.


Color preview on white background

This text has color #B21A9D on white background.



Black color preview on #B21A9D background

This text has black color on #B21A9D background.


White color preview on #B21A9D background

This text has white color on #B21A9D background.