COLOR #B158A2

HEX: #B158A2
RGB: (177,88,162)

Color info

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

RGB color model

#B158A2 color RGB value is (177,88,162).

  • red value is 177;
  • green value is 88;
  • blue value is 162.
RGB:
(177,88,162)
(69%,35%,64%)

RGB channels and saturation

R 177 of 255 = 69%
G 88 of 255 = 35%
B 162 of 255 = 64%

177
88
162

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

Portions of RGB colors in percentages

R + G + B =
177 + 88 + 162 = 427 (100%)
R 177 of 427 ~ 41.45%
G 88 of 427 ~ 20.61%
B 162 of 427 ~ 37.94%

%41.45
%20.61
%37.94

CMYK color model

#B158A2 color CMYK value is (0,50,8,31).

  • cyan value is 0.00%
  • magenta value is 50.28%
  • yellow value is 8.47%
  • key color value is 30.59%
CMYK:
(0,50,8,31)
C0M50Y8K31 
(0%,50%,8%,31%)
(0.00/0.50/0.08/0.31)	

CMYK percentages

%0
%50.28
%8.47
%30.59

Codes

Color #B158A2 in popluar color models

B158A2
RGB17788162
HSL310°36.33%51.96%
HSB/HSV310°50.28%69.41%
CMYK0.00%50.28%8.47%
30.59%

Color #B158A2 in popluar number systems.

HEXB158A2
Decimal17788162
Binary10110001101100010100010
Octal261130242

Shades and tints

Shades of #B158A2

#B158A2
(177,88,162)
#A15094
(161,80,148)
#914886
(145,72,134)
#814078
(129,64,120)
#71386A
(113,56,106)
#61305C
(97,48,92)
#51284E
(81,40,78)
#412040
(65,32,64)
#311832
(49,24,50)
#211024
(33,16,36)
#110816
(17,8,22)
#000000
(0,0,0)

Tints of #B158A2

#B158A2
(177,88,162)
#B867AA
(184,103,170)
#BF76B2
(191,118,178)
#C685BA
(198,133,186)
#CD94C2
(205,148,194)
#D4A3CA
(212,163,202)
#DBB2D2
(219,178,210)
#E2C1DA
(226,193,218)
#E9D0E2
(233,208,226)
#F0DFEA
(240,223,234)
#F7EEF2
(247,238,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #B158A2 color. Also use rgb(177,88,162) instead hex code.

Text Font Color

.myTextColor { color: #B158A2; }

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

This text font color is #B158A2.


Background Color

.myBgColor { background-color: #B158A2; }

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

This div background color is #B158A2.


Border color

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

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

This div border color is #B158A2.


Opacity

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

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

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

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

This text has shadow with #B158A2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #B158A2 on black background.


Color preview on white background

This text has color #B158A2 on white background.



Black color preview on #B158A2 background

This text has black color on #B158A2 background.


White color preview on #B158A2 background

This text has white color on #B158A2 background.