COLOR #786CB4

HEX: #786CB4
RGB: (120,108,180)

Color info

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

RGB color model

#786CB4 color RGB value is (120,108,180).

  • red value is 120;
  • green value is 108;
  • blue value is 180.
RGB:
(120,108,180)
(47%,42%,71%)

RGB channels and saturation

R 120 of 255 = 47%
G 108 of 255 = 42%
B 180 of 255 = 71%

120
108
180

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

Portions of RGB colors in percentages

R + G + B =
120 + 108 + 180 = 408 (100%)
R 120 of 408 ~ 29.41%
G 108 of 408 ~ 26.47%
B 180 of 408 ~ 44.12%

%29.41
%26.47
%44.12

CMYK color model

#786CB4 color CMYK value is (33,40,0,29).

  • cyan value is 33.33%
  • magenta value is 40.00%
  • yellow value is 0.00%
  • key color value is 29.41%
CMYK:
(33,40,0,29)
C33M40Y0K29 
(33%,40%,0%,29%)
(0.33/0.40/0.00/0.29)	

CMYK percentages

%33.33
%40
%0
%29.41

Codes

Color #786CB4 in popluar color models

786CB4
RGB120108180
HSL250°32.43%56.47%
HSB/HSV250°40.00%70.59%
CMYK33.33%40.00%0.00%
29.41%

Color #786CB4 in popluar number systems.

HEX786CB4
Decimal120108180
Binary1111000110110010110100
Octal170154264

Shades and tints

Shades of #786CB4

#786CB4
(120,108,180)
#6E63A4
(110,99,164)
#645A94
(100,90,148)
#5A5184
(90,81,132)
#504874
(80,72,116)
#463F64
(70,63,100)
#3C3654
(60,54,84)
#322D44
(50,45,68)
#282434
(40,36,52)
#1E1B24
(30,27,36)
#141214
(20,18,20)
#000000
(0,0,0)

Tints of #786CB4

#786CB4
(120,108,180)
#8479BA
(132,121,186)
#9086C0
(144,134,192)
#9C93C6
(156,147,198)
#A8A0CC
(168,160,204)
#B4ADD2
(180,173,210)
#C0BAD8
(192,186,216)
#CCC7DE
(204,199,222)
#D8D4E4
(216,212,228)
#E4E1EA
(228,225,234)
#F0EEF0
(240,238,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #786CB4 color. Also use rgb(120,108,180) instead hex code.

Text Font Color

.myTextColor { color: #786CB4; }

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

This text font color is #786CB4.


Background Color

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

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

This div background color is #786CB4.


Border color

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

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

This div border color is #786CB4.


Opacity

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

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

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

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

This text has shadow with #786CB4 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #786CB4 on black background.


Color preview on white background

This text has color #786CB4 on white background.



Black color preview on #786CB4 background

This text has black color on #786CB4 background.


White color preview on #786CB4 background

This text has white color on #786CB4 background.