COLOR #786D98

HEX: #786D98
RGB: (120,109,152)

Color info

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

RGB color model

#786D98 color RGB value is (120,109,152).

  • red value is 120;
  • green value is 109;
  • blue value is 152.
RGB:
(120,109,152)
(47%,43%,60%)

RGB channels and saturation

R 120 of 255 = 47%
G 109 of 255 = 43%
B 152 of 255 = 60%

120
109
152

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

Portions of RGB colors in percentages

R + G + B =
120 + 109 + 152 = 381 (100%)
R 120 of 381 ~ 31.5%
G 109 of 381 ~ 28.61%
B 152 of 381 ~ 39.9%

%31.5
%28.61
%39.9

CMYK color model

#786D98 color CMYK value is (21,28,0,40).

  • cyan value is 21.05%
  • magenta value is 28.29%
  • yellow value is 0.00%
  • key color value is 40.39%
CMYK:
(21,28,0,40)
C21M28Y0K40 
(21%,28%,0%,40%)
(0.21/0.28/0.00/0.40)	

CMYK percentages

%21.05
%28.29
%0
%40.39

Codes

Color #786D98 in popluar color models

786D98
RGB120109152
HSL255°17.27%51.18%
HSB/HSV255°28.29%59.61%
CMYK21.05%28.29%0.00%
40.39%

Color #786D98 in popluar number systems.

HEX786D98
Decimal120109152
Binary1111000110110110011000
Octal170155230

Shades and tints

Shades of #786D98

#786D98
(120,109,152)
#6E648B
(110,100,139)
#645B7E
(100,91,126)
#5A5271
(90,82,113)
#504964
(80,73,100)
#464057
(70,64,87)
#3C374A
(60,55,74)
#322E3D
(50,46,61)
#282530
(40,37,48)
#1E1C23
(30,28,35)
#141316
(20,19,22)
#000000
(0,0,0)

Tints of #786D98

#786D98
(120,109,152)
#847AA1
(132,122,161)
#9087AA
(144,135,170)
#9C94B3
(156,148,179)
#A8A1BC
(168,161,188)
#B4AEC5
(180,174,197)
#C0BBCE
(192,187,206)
#CCC8D7
(204,200,215)
#D8D5E0
(216,213,224)
#E4E2E9
(228,226,233)
#F0EFF2
(240,239,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #786D98 color. Also use rgb(120,109,152) instead hex code.

Text Font Color

.myTextColor { color: #786D98; }

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

This text font color is #786D98.


Background Color

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

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

This div background color is #786D98.


Border color

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

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

This div border color is #786D98.


Opacity

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

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

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

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

This text has shadow with #786D98 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #786D98 on black background.


Color preview on white background

This text has color #786D98 on white background.



Black color preview on #786D98 background

This text has black color on #786D98 background.


White color preview on #786D98 background

This text has white color on #786D98 background.