COLOR #786BA6

HEX: #786BA6 RGB: (120,107,166)

Color info

#786BA6 contains red, green and blue colors in about the same proportion. Web safe color of #786BA6 is #666699 (or #669).

RGB color model

#786BA6 color RGB value is (120,107,166).

RGB: (120,107,166) (47%, 42%, 65%)

RGB channels and saturation

R 120 of 255 = 47%
G 107 of 255 = 42%
B 166 of 255 = 65%

120
107
166

R + G + B ~ 51%. #786BA6 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 120 + 107 + 166 = 393 (100%)
R 120 of 393 ~ 30.53%
G 107 of 393 ~ 27.23%
B 166 of 393 ~ 42.24'%

%30.53
%27.23
%42.24

CMYK color model

#786BA6 color CMYK value is (28,36,0,35).

  • cyan value is 27.71%
  • magenta value is 35.54%
  • yellow value is 0.00%
  • key color value is 34.90%

CMYK: (28,36,0,35)
C28M36Y0K35 (28%, 36%, 0%, 35%)
(0.28 / 0.36 / 0.00 / 0.35)

CMYK percentages

%27.71
%35.54
%0
%34.9

Codes

Color #786BA6 in popluar color models

78 6B A6
RGB 120 107 166
HSL 253° 24.89% 53.53%
HSB/HSV 253° 35.54% 65.10%
CMYK 27.71% 35.54% 0.00%
34.90%

Color #786BA6 in popluar number systems.

HEX 78 6B A6
Decimal 120 107 166
Binary 1111000 1101011 10100110
Octal 170 153 246

Shades and tints

Shades of #786BA6

#786BA6
(120,107,166)
#6E6297
(110,98,151)
#645988
(100,89,136)
#5A5079
(90,80,121)
#50476A
(80,71,106)
#463E5B
(70,62,91)
#3C354C
(60,53,76)
#322C3D
(50,44,61)
#28232E
(40,35,46)
#1E1A1F
(30,26,31)
#141110
(20,17,16)
#000000
(0,0,0)

Tints of #786BA6

#786BA6
(120,107,166)
#8478AE
(132,120,174)
#9085B6
(144,133,182)
#9C92BE
(156,146,190)
#A89FC6
(168,159,198)
#B4ACCE
(180,172,206)
#C0B9D6
(192,185,214)
#CCC6DE
(204,198,222)
#D8D3E6
(216,211,230)
#E4E0EE
(228,224,238)
#F0EDF6
(240,237,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #786BA6 color. Also use rgb(120,107,166) instead hex code.

Text Font Color

.myTextColor { color: #786BA6; }

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

This text font color is #786BA6.

Background Color

.myBgColor { background-color: #786BA6; }

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

This div background color is #786BA6.

Border color

.myBorderColor { border: 1px solid #786BA6; }

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

This div border color is #786BA6.

Opacity

.myOpacity80 { color: #786BA6; opacity: 0.8; }

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

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

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

This text has shadow with #786BA6 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #786BA6.

Preview

Color preview on black background

This text has color #786BA6 on black background.


Color preview on white background

This text has color #786BA6 on white background.


Black color preview on #786BA6 background

This text has black color on #786BA6 background.


White color preview on #786BA6 background

This text has white color on #786BA6 background.


Related colors

Complementary color

Complementary color for #hex is #879459.


I love getcolorcode.com

Triadic colors

1 #A6786B and #6BA678 with #786BA6 are triadic colors.

2 #A66B78 and #6B78A6 with #786BA6 are triadic colors.