COLOR #BA5A9E

HEX: #BA5A9E RGB: (186,90,158)

Color info

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

RGB color model

#BA5A9E color RGB value is (186,90,158).

RGB: (186,90,158) (73%, 35%, 62%)

RGB channels and saturation

R 186 of 255 = 73%
G 90 of 255 = 35%
B 158 of 255 = 62%

186
90
158

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

Portions of RGB colors in percentages

R + G + B = 186 + 90 + 158 = 434 (100%)
R 186 of 434 ~ 42.86%
G 90 of 434 ~ 20.74%
B 158 of 434 ~ 36.41'%

%42.86
%20.74
%36.41

CMYK color model

#BA5A9E color CMYK value is (0,52,15,27).

  • cyan value is 0.00%
  • magenta value is 51.61%
  • yellow value is 15.05%
  • key color value is 27.06%

CMYK: (0,52,15,27)
C0M52Y15K27 (0%, 52%, 15%, 27%)
(0.00 / 0.52 / 0.15 / 0.27)

CMYK percentages

%0
%51.61
%15.05
%27.06

Codes

Color #BA5A9E in popluar color models

BA 5A 9E
RGB 186 90 158
HSL 318° 41.03% 54.12%
HSB/HSV 318° 51.61% 72.94%
CMYK 0.00% 51.61% 15.05%
27.06%

Color #BA5A9E in popluar number systems.

HEX BA 5A 9E
Decimal 186 90 158
Binary 10111010 1011010 10011110
Octal 272 132 236

Shades and tints

Shades of #BA5A9E

#BA5A9E
(186,90,158)
#AA5290
(170,82,144)
#9A4A82
(154,74,130)
#8A4274
(138,66,116)
#7A3A66
(122,58,102)
#6A3258
(106,50,88)
#5A2A4A
(90,42,74)
#4A223C
(74,34,60)
#3A1A2E
(58,26,46)
#2A1220
(42,18,32)
#1A0A12
(26,10,18)
#000000
(0,0,0)

Tints of #BA5A9E

#BA5A9E
(186,90,158)
#C069A6
(192,105,166)
#C678AE
(198,120,174)
#CC87B6
(204,135,182)
#D296BE
(210,150,190)
#D8A5C6
(216,165,198)
#DEB4CE
(222,180,206)
#E4C3D6
(228,195,214)
#EAD2DE
(234,210,222)
#F0E1E6
(240,225,230)
#F6F0EE
(246,240,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #BA5A9E; }

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

This text font color is #BA5A9E.

Background Color

.myBgColor { background-color: #BA5A9E; }

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

This div background color is #BA5A9E.

Border color

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

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

This div border color is #BA5A9E.

Opacity

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

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

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

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

This text has shadow with #BA5A9E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #BA5A9E.

Preview

Color preview on black background

This text has color #BA5A9E on black background.


Color preview on white background

This text has color #BA5A9E on white background.


Black color preview on #BA5A9E background

This text has black color on #BA5A9E background.


White color preview on #BA5A9E background

This text has white color on #BA5A9E background.


Related colors

Complementary color

Complementary color for #hex is #45A561.


I love getcolorcode.com

Triadic colors

1 #9EBA5A and #5A9EBA with #BA5A9E are triadic colors.

2 #9E5ABA and #5ABA9E with #BA5A9E are triadic colors.