COLOR #786791

HEX: #786791
RGB: (120,103,145)

Color info

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

RGB color model

#786791 color RGB value is (120,103,145).

  • red value is 120;
  • green value is 103;
  • blue value is 145.
RGB:
(120,103,145)
(47%,40%,57%)

RGB channels and saturation

R 120 of 255 = 47%
G 103 of 255 = 40%
B 145 of 255 = 57%

120
103
145

R + G + B ~ 48%. #786791 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
120 + 103 + 145 = 368 (100%)
R 120 of 368 ~ 32.61%
G 103 of 368 ~ 27.99%
B 145 of 368 ~ 39.4%

%32.61
%27.99
%39.4

CMYK color model

#786791 color CMYK value is (17,29,0,43).

  • cyan value is 17.24%
  • magenta value is 28.97%
  • yellow value is 0.00%
  • key color value is 43.14%
CMYK:
(17,29,0,43)
C17M29Y0K43 
(17%,29%,0%,43%)
(0.17/0.29/0.00/0.43)	

CMYK percentages

%17.24
%28.97
%0
%43.14

Codes

Color #786791 in popluar color models

786791
RGB120103145
HSL264°16.94%48.63%
HSB/HSV264°28.97%56.86%
CMYK17.24%28.97%0.00%
43.14%

Color #786791 in popluar number systems.

HEX786791
Decimal120103145
Binary1111000110011110010001
Octal170147221

Shades and tints

Shades of #786791

#786791
(120,103,145)
#6E5E84
(110,94,132)
#645577
(100,85,119)
#5A4C6A
(90,76,106)
#50435D
(80,67,93)
#463A50
(70,58,80)
#3C3143
(60,49,67)
#322836
(50,40,54)
#281F29
(40,31,41)
#1E161C
(30,22,28)
#140D0F
(20,13,15)
#000000
(0,0,0)

Tints of #786791

#786791
(120,103,145)
#84749B
(132,116,155)
#9081A5
(144,129,165)
#9C8EAF
(156,142,175)
#A89BB9
(168,155,185)
#B4A8C3
(180,168,195)
#C0B5CD
(192,181,205)
#CCC2D7
(204,194,215)
#D8CFE1
(216,207,225)
#E4DCEB
(228,220,235)
#F0E9F5
(240,233,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #786791 color. Also use rgb(120,103,145) instead hex code.

Text Font Color

.myTextColor { color: #786791; }

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

This text font color is #786791.


Background Color

.myBgColor { background-color: #786791; }

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

This div background color is #786791.


Border color

.myBorderColor { border: 1px solid #786791; }

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

This div border color is #786791.


Opacity

.myOpacity80 { color: #786791; opacity: 0.8; }

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

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

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

This text has shadow with #786791 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #786791 on black background.


Color preview on white background

This text has color #786791 on white background.



Black color preview on #786791 background

This text has black color on #786791 background.


White color preview on #786791 background

This text has white color on #786791 background.