COLOR #BA42BA

HEX: #BA42BA
RGB: (186,66,186)

Color info

#BA42BA contains mainly red and blue colors. Web safe color of #BA42BA is #CC33CC (or #C3C).

RGB color model

#BA42BA color RGB value is (186,66,186).

  • red value is 186;
  • green value is 66;
  • blue value is 186.
RGB:
(186,66,186)
(73%,26%,73%)

RGB channels and saturation

R 186 of 255 = 73%
G 66 of 255 = 26%
B 186 of 255 = 73%

186
66
186

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

Portions of RGB colors in percentages

R + G + B =
186 + 66 + 186 = 438 (100%)
R 186 of 438 ~ 42.47%
G 66 of 438 ~ 15.07%
B 186 of 438 ~ 42.47%

%42.47
%15.07
%42.47

CMYK color model

#BA42BA color CMYK value is (0,65,0,27).

  • cyan value is 0.00%
  • magenta value is 64.52%
  • yellow value is 0.00%
  • key color value is 27.06%
CMYK:
(0,65,0,27)
C0M65Y0K27 
(0%,65%,0%,27%)
(0.00/0.65/0.00/0.27)	

CMYK percentages

%0
%64.52
%0
%27.06

Codes

Color #BA42BA in popluar color models

BA42BA
RGB18666186
HSL300°47.62%49.41%
HSB/HSV300°64.52%72.94%
CMYK0.00%64.52%0.00%
27.06%

Color #BA42BA in popluar number systems.

HEXBA42BA
Decimal18666186
Binary10111010100001010111010
Octal272102272

Shades and tints

Shades of #BA42BA

#BA42BA
(186,66,186)
#AA3CAA
(170,60,170)
#9A369A
(154,54,154)
#8A308A
(138,48,138)
#7A2A7A
(122,42,122)
#6A246A
(106,36,106)
#5A1E5A
(90,30,90)
#4A184A
(74,24,74)
#3A123A
(58,18,58)
#2A0C2A
(42,12,42)
#1A061A
(26,6,26)
#000000
(0,0,0)

Tints of #BA42BA

#BA42BA
(186,66,186)
#C053C0
(192,83,192)
#C664C6
(198,100,198)
#CC75CC
(204,117,204)
#D286D2
(210,134,210)
#D897D8
(216,151,216)
#DEA8DE
(222,168,222)
#E4B9E4
(228,185,228)
#EACAEA
(234,202,234)
#F0DBF0
(240,219,240)
#F6ECF6
(246,236,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #BA42BA; }

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

This text font color is #BA42BA.


Background Color

.myBgColor { background-color: #BA42BA; }

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

This div background color is #BA42BA.


Border color

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

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

This div border color is #BA42BA.


Opacity

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

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

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

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

This text has shadow with #BA42BA color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #BA42BA on black background.


Color preview on white background

This text has color #BA42BA on white background.



Black color preview on #BA42BA background

This text has black color on #BA42BA background.


White color preview on #BA42BA background

This text has white color on #BA42BA background.