COLOR #BA5A8A

HEX: #BA5A8A
RGB: (186,90,138)

Color info

#BA5A8A contains mainly red and blue colors. Web safe color of #BA5A8A is #CC6699 (or #C69).

RGB color model

#BA5A8A color RGB value is (186,90,138).

  • red value is 186;
  • green value is 90;
  • blue value is 138.
RGB:
(186,90,138)
(73%,35%,54%)

RGB channels and saturation

R 186 of 255 = 73%
G 90 of 255 = 35%
B 138 of 255 = 54%

186
90
138

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

Portions of RGB colors in percentages

R + G + B =
186 + 90 + 138 = 414 (100%)
R 186 of 414 ~ 44.93%
G 90 of 414 ~ 21.74%
B 138 of 414 ~ 33.33%

%44.93
%21.74
%33.33

CMYK color model

#BA5A8A color CMYK value is (0,52,26,27).

  • cyan value is 0.00%
  • magenta value is 51.61%
  • yellow value is 25.81%
  • key color value is 27.06%
CMYK:
(0,52,26,27)
C0M52Y26K27 
(0%,52%,26%,27%)
(0.00/0.52/0.26/0.27)	

CMYK percentages

%0
%51.61
%25.81
%27.06

Codes

Color #BA5A8A in popluar color models

BA5A8A
RGB18690138
HSL330°41.03%54.12%
HSB/HSV330°51.61%72.94%
CMYK0.00%51.61%25.81%
27.06%

Color #BA5A8A in popluar number systems.

HEXBA5A8A
Decimal18690138
Binary10111010101101010001010
Octal272132212

Shades and tints

Shades of #BA5A8A

#BA5A8A
(186,90,138)
#AA527E
(170,82,126)
#9A4A72
(154,74,114)
#8A4266
(138,66,102)
#7A3A5A
(122,58,90)
#6A324E
(106,50,78)
#5A2A42
(90,42,66)
#4A2236
(74,34,54)
#3A1A2A
(58,26,42)
#2A121E
(42,18,30)
#1A0A12
(26,10,18)
#000000
(0,0,0)

Tints of #BA5A8A

#BA5A8A
(186,90,138)
#C06994
(192,105,148)
#C6789E
(198,120,158)
#CC87A8
(204,135,168)
#D296B2
(210,150,178)
#D8A5BC
(216,165,188)
#DEB4C6
(222,180,198)
#E4C3D0
(228,195,208)
#EAD2DA
(234,210,218)
#F0E1E4
(240,225,228)
#F6F0EE
(246,240,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #BA5A8A color. Also use rgb(186,90,138) instead hex code.

Text Font Color

.myTextColor { color: #BA5A8A; }

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

This text font color is #BA5A8A.


Background Color

.myBgColor { background-color: #BA5A8A; }

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

This div background color is #BA5A8A.


Border color

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

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

This div border color is #BA5A8A.


Opacity

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

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

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

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

This text has shadow with #BA5A8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #BA5A8A on black background.


Color preview on white background

This text has color #BA5A8A on white background.



Black color preview on #BA5A8A background

This text has black color on #BA5A8A background.


White color preview on #BA5A8A background

This text has white color on #BA5A8A background.