COLOR #7842BA

HEX: #7842BA RGB: (120,66,186)

Color info

#7842BA contains mainly blue color. Web safe color of #7842BA is #6633CC (or #63C).

RGB color model

#7842BA color RGB value is (120,66,186).

RGB: (120,66,186) (47%, 26%, 73%)

RGB channels and saturation

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

120
66
186

R + G + B ~ 49%. #7842BA is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 120 + 66 + 186 = 372 (100%)
R 120 of 372 ~ 32.26%
G 66 of 372 ~ 17.74%
B 186 of 372 ~ 50'%

%32.26
%17.74
%50

CMYK color model

#7842BA color CMYK value is (35,65,0,27).

  • cyan value is 35.48%
  • magenta value is 64.52%
  • yellow value is 0.00%
  • key color value is 27.06%

CMYK: (35,65,0,27)
C35M65Y0K27 (35%, 65%, 0%, 27%)
(0.35 / 0.65 / 0.00 / 0.27)

CMYK percentages

%35.48
%64.52
%0
%27.06

Codes

Color #7842BA in popluar color models

78 42 BA
RGB 120 66 186
HSL 267° 47.62% 49.41%
HSB/HSV 267° 64.52% 72.94%
CMYK 35.48% 64.52% 0.00%
27.06%

Color #7842BA in popluar number systems.

HEX 78 42 BA
Decimal 120 66 186
Binary 1111000 1000010 10111010
Octal 170 102 272

Shades and tints

Shades of #7842BA

#7842BA
(120,66,186)
#6E3CAA
(110,60,170)
#64369A
(100,54,154)
#5A308A
(90,48,138)
#502A7A
(80,42,122)
#46246A
(70,36,106)
#3C1E5A
(60,30,90)
#32184A
(50,24,74)
#28123A
(40,18,58)
#1E0C2A
(30,12,42)
#14061A
(20,6,26)
#000000
(0,0,0)

Tints of #7842BA

#7842BA
(120,66,186)
#8453C0
(132,83,192)
#9064C6
(144,100,198)
#9C75CC
(156,117,204)
#A886D2
(168,134,210)
#B497D8
(180,151,216)
#C0A8DE
(192,168,222)
#CCB9E4
(204,185,228)
#D8CAEA
(216,202,234)
#E4DBF0
(228,219,240)
#F0ECF6
(240,236,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #7842BA; }

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

This text font color is #7842BA.

Background Color

.myBgColor { background-color: #7842BA; }

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

This div background color is #7842BA.

Border color

.myBorderColor { border: 1px solid #7842BA; }

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

This div border color is #7842BA.

Opacity

.myOpacity80 { color: #7842BA; opacity: 0.8; }

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

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

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

This text has shadow with #7842BA color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #7842BA.

Preview

Color preview on black background

This text has color #7842BA on black background.


Color preview on white background

This text has color #7842BA on white background.


Black color preview on #7842BA background

This text has black color on #7842BA background.


White color preview on #7842BA background

This text has white color on #7842BA background.


Related colors

Complementary color

Complementary color for #hex is #87BD45.


I love getcolorcode.com

Triadic colors

1 #BA7842 and #42BA78 with #7842BA are triadic colors.

2 #BA4278 and #4278BA with #7842BA are triadic colors.