COLOR #785F98

HEX: #785F98
RGB: (120,95,152)

Color info

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

RGB color model

#785F98 color RGB value is (120,95,152).

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

RGB channels and saturation

R 120 of 255 = 47%
G 95 of 255 = 37%
B 152 of 255 = 60%

120
95
152

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

Portions of RGB colors in percentages

R + G + B =
120 + 95 + 152 = 367 (100%)
R 120 of 367 ~ 32.7%
G 95 of 367 ~ 25.89%
B 152 of 367 ~ 41.42%

%32.7
%25.89
%41.42

CMYK color model

#785F98 color CMYK value is (21,38,0,40).

  • cyan value is 21.05%
  • magenta value is 37.50%
  • yellow value is 0.00%
  • key color value is 40.39%
CMYK:
(21,38,0,40)
C21M38Y0K40 
(21%,38%,0%,40%)
(0.21/0.38/0.00/0.40)	

CMYK percentages

%21.05
%37.5
%0
%40.39

Codes

Color #785F98 in popluar color models

785F98
RGB12095152
HSL266°23.08%48.43%
HSB/HSV266°37.50%59.61%
CMYK21.05%37.50%0.00%
40.39%

Color #785F98 in popluar number systems.

HEX785F98
Decimal12095152
Binary1111000101111110011000
Octal170137230

Shades and tints

Shades of #785F98

#785F98
(120,95,152)
#6E578B
(110,87,139)
#644F7E
(100,79,126)
#5A4771
(90,71,113)
#503F64
(80,63,100)
#463757
(70,55,87)
#3C2F4A
(60,47,74)
#32273D
(50,39,61)
#281F30
(40,31,48)
#1E1723
(30,23,35)
#140F16
(20,15,22)
#000000
(0,0,0)

Tints of #785F98

#785F98
(120,95,152)
#846DA1
(132,109,161)
#907BAA
(144,123,170)
#9C89B3
(156,137,179)
#A897BC
(168,151,188)
#B4A5C5
(180,165,197)
#C0B3CE
(192,179,206)
#CCC1D7
(204,193,215)
#D8CFE0
(216,207,224)
#E4DDE9
(228,221,233)
#F0EBF2
(240,235,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #785F98 color. Also use rgb(120,95,152) instead hex code.

Text Font Color

.myTextColor { color: #785F98; }

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

This text font color is #785F98.


Background Color

.myBgColor { background-color: #785F98; }

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

This div background color is #785F98.


Border color

.myBorderColor { border: 1px solid #785F98; }

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

This div border color is #785F98.


Opacity

.myOpacity80 { color: #785F98; opacity: 0.8; }

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

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

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

This text has shadow with #785F98 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #785F98 on black background.


Color preview on white background

This text has color #785F98 on white background.



Black color preview on #785F98 background

This text has black color on #785F98 background.


White color preview on #785F98 background

This text has white color on #785F98 background.