COLOR #786BC4

HEX: #786BC4
RGB: (120,107,196)

Color info

#786BC4 contains mainly blue color. Web safe color of #786BC4 is #6666CC (or #66C).

RGB color model

#786BC4 color RGB value is (120,107,196).

  • red value is 120;
  • green value is 107;
  • blue value is 196.
RGB:
(120,107,196)
(47%,42%,77%)

RGB channels and saturation

R 120 of 255 = 47%
G 107 of 255 = 42%
B 196 of 255 = 77%

120
107
196

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

Portions of RGB colors in percentages

R + G + B =
120 + 107 + 196 = 423 (100%)
R 120 of 423 ~ 28.37%
G 107 of 423 ~ 25.3%
B 196 of 423 ~ 46.34%

%28.37
%25.3
%46.34

CMYK color model

#786BC4 color CMYK value is (39,45,0,23).

  • cyan value is 38.78%
  • magenta value is 45.41%
  • yellow value is 0.00%
  • key color value is 23.14%
CMYK:
(39,45,0,23)
C39M45Y0K23 
(39%,45%,0%,23%)
(0.39/0.45/0.00/0.23)	

CMYK percentages

%38.78
%45.41
%0
%23.14

Codes

Color #786BC4 in popluar color models

786BC4
RGB120107196
HSL249°43.00%59.41%
HSB/HSV249°45.41%76.86%
CMYK38.78%45.41%0.00%
23.14%

Color #786BC4 in popluar number systems.

HEX786BC4
Decimal120107196
Binary1111000110101111000100
Octal170153304

Shades and tints

Shades of #786BC4

#786BC4
(120,107,196)
#6E62B3
(110,98,179)
#6459A2
(100,89,162)
#5A5091
(90,80,145)
#504780
(80,71,128)
#463E6F
(70,62,111)
#3C355E
(60,53,94)
#322C4D
(50,44,77)
#28233C
(40,35,60)
#1E1A2B
(30,26,43)
#14111A
(20,17,26)
#000000
(0,0,0)

Tints of #786BC4

#786BC4
(120,107,196)
#8478C9
(132,120,201)
#9085CE
(144,133,206)
#9C92D3
(156,146,211)
#A89FD8
(168,159,216)
#B4ACDD
(180,172,221)
#C0B9E2
(192,185,226)
#CCC6E7
(204,198,231)
#D8D3EC
(216,211,236)
#E4E0F1
(228,224,241)
#F0EDF6
(240,237,246)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #786BC4; }

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

This text font color is #786BC4.


Background Color

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

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

This div background color is #786BC4.


Border color

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

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

This div border color is #786BC4.


Opacity

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

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

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

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

This text has shadow with #786BC4 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #786BC4 on black background.


Color preview on white background

This text has color #786BC4 on white background.



Black color preview on #786BC4 background

This text has black color on #786BC4 background.


White color preview on #786BC4 background

This text has white color on #786BC4 background.