COLOR #786FAB

HEX: #786FAB RGB: (120,111,171)

Color info

#786FAB contains mainly red and blue colors. Web safe color of #786FAB is #666699 (or #669).

RGB color model

#786FAB color RGB value is (120,111,171).

RGB: (120,111,171) (47%, 44%, 67%)

RGB channels and saturation

R 120 of 255 = 47%
G 111 of 255 = 44%
B 171 of 255 = 67%

120
111
171

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

Portions of RGB colors in percentages

R + G + B = 120 + 111 + 171 = 402 (100%)
R 120 of 402 ~ 29.85%
G 111 of 402 ~ 27.61%
B 171 of 402 ~ 42.54'%

%29.85
%27.61
%42.54

CMYK color model

#786FAB color CMYK value is (30,35,0,33).

  • cyan value is 29.82%
  • magenta value is 35.09%
  • yellow value is 0.00%
  • key color value is 32.94%

CMYK: (30,35,0,33)
C30M35Y0K33 (30%, 35%, 0%, 33%)
(0.30 / 0.35 / 0.00 / 0.33)

CMYK percentages

%29.82
%35.09
%0
%32.94

Codes

Color #786FAB in popluar color models

78 6F AB
RGB 120 111 171
HSL 249° 26.32% 55.29%
HSB/HSV 249° 35.09% 67.06%
CMYK 29.82% 35.09% 0.00%
32.94%

Color #786FAB in popluar number systems.

HEX 78 6F AB
Decimal 120 111 171
Binary 1111000 1101111 10101011
Octal 170 157 253

Shades and tints

Shades of #786FAB

#786FAB
(120,111,171)
#6E659C
(110,101,156)
#645B8D
(100,91,141)
#5A517E
(90,81,126)
#50476F
(80,71,111)
#463D60
(70,61,96)
#3C3351
(60,51,81)
#322942
(50,41,66)
#281F33
(40,31,51)
#1E1524
(30,21,36)
#140B15
(20,11,21)
#000000
(0,0,0)

Tints of #786FAB

#786FAB
(120,111,171)
#847CB2
(132,124,178)
#9089B9
(144,137,185)
#9C96C0
(156,150,192)
#A8A3C7
(168,163,199)
#B4B0CE
(180,176,206)
#C0BDD5
(192,189,213)
#CCCADC
(204,202,220)
#D8D7E3
(216,215,227)
#E4E4EA
(228,228,234)
#F0F1F1
(240,241,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #786FAB color. Also use rgb(120,111,171) instead hex code.

Text Font Color

.myTextColor { color: #786FAB; }

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

This text font color is #786FAB.

Background Color

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

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

This div background color is #786FAB.

Border color

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

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

This div border color is #786FAB.

Opacity

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

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

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

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

This text has shadow with #786FAB color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #786FAB.

Preview

Color preview on black background

This text has color #786FAB on black background.


Color preview on white background

This text has color #786FAB on white background.


Black color preview on #786FAB background

This text has black color on #786FAB background.


White color preview on #786FAB background

This text has white color on #786FAB background.


Related colors

Complementary color

Complementary color for #786FAB is #879054.


I love getcolorcode.com

Triadic colors

1 #AB786F and #6FAB78 with #786FAB are triadic colors.

2 #AB6F78 and #6F78AB with #786FAB are triadic colors.