COLOR #B152A8

HEX: #B152A8
RGB: (177,82,168)

Color info

#B152A8 contains mainly red and blue colors. Web safe color of #B152A8 is #996699 (or #969).

RGB color model

#B152A8 color RGB value is (177,82,168).

  • red value is 177;
  • green value is 82;
  • blue value is 168.
RGB:
(177,82,168)
(69%,32%,66%)

RGB channels and saturation

R 177 of 255 = 69%
G 82 of 255 = 32%
B 168 of 255 = 66%

177
82
168

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

Portions of RGB colors in percentages

R + G + B =
177 + 82 + 168 = 427 (100%)
R 177 of 427 ~ 41.45%
G 82 of 427 ~ 19.2%
B 168 of 427 ~ 39.34%

%41.45
%19.2
%39.34

CMYK color model

#B152A8 color CMYK value is (0,54,5,31).

  • cyan value is 0.00%
  • magenta value is 53.67%
  • yellow value is 5.08%
  • key color value is 30.59%
CMYK:
(0,54,5,31)
C0M54Y5K31 
(0%,54%,5%,31%)
(0.00/0.54/0.05/0.31)	

CMYK percentages

%0
%53.67
%5.08
%30.59

Codes

Color #B152A8 in popluar color models

B152A8
RGB17782168
HSL306°37.85%50.78%
HSB/HSV306°53.67%69.41%
CMYK0.00%53.67%5.08%
30.59%

Color #B152A8 in popluar number systems.

HEXB152A8
Decimal17782168
Binary10110001101001010101000
Octal261122250

Shades and tints

Shades of #B152A8

#B152A8
(177,82,168)
#A14B99
(161,75,153)
#91448A
(145,68,138)
#813D7B
(129,61,123)
#71366C
(113,54,108)
#612F5D
(97,47,93)
#51284E
(81,40,78)
#41213F
(65,33,63)
#311A30
(49,26,48)
#211321
(33,19,33)
#110C12
(17,12,18)
#000000
(0,0,0)

Tints of #B152A8

#B152A8
(177,82,168)
#B861AF
(184,97,175)
#BF70B6
(191,112,182)
#C67FBD
(198,127,189)
#CD8EC4
(205,142,196)
#D49DCB
(212,157,203)
#DBACD2
(219,172,210)
#E2BBD9
(226,187,217)
#E9CAE0
(233,202,224)
#F0D9E7
(240,217,231)
#F7E8EE
(247,232,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #B152A8 color. Also use rgb(177,82,168) instead hex code.

Text Font Color

.myTextColor { color: #B152A8; }

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

This text font color is #B152A8.


Background Color

.myBgColor { background-color: #B152A8; }

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

This div background color is #B152A8.


Border color

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

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

This div border color is #B152A8.


Opacity

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

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

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

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

This text has shadow with #B152A8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #B152A8 on black background.


Color preview on white background

This text has color #B152A8 on white background.



Black color preview on #B152A8 background

This text has black color on #B152A8 background.


White color preview on #B152A8 background

This text has white color on #B152A8 background.