COLOR #785D98

HEX: #785D98
RGB: (120,93,152)

Color info

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

RGB color model

#785D98 color RGB value is (120,93,152).

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

RGB channels and saturation

R 120 of 255 = 47%
G 93 of 255 = 36%
B 152 of 255 = 60%

120
93
152

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

Portions of RGB colors in percentages

R + G + B =
120 + 93 + 152 = 365 (100%)
R 120 of 365 ~ 32.88%
G 93 of 365 ~ 25.48%
B 152 of 365 ~ 41.64%

%32.88
%25.48
%41.64

CMYK color model

#785D98 color CMYK value is (21,39,0,40).

  • cyan value is 21.05%
  • magenta value is 38.82%
  • yellow value is 0.00%
  • key color value is 40.39%
CMYK:
(21,39,0,40)
C21M39Y0K40 
(21%,39%,0%,40%)
(0.21/0.39/0.00/0.40)	

CMYK percentages

%21.05
%38.82
%0
%40.39

Codes

Color #785D98 in popluar color models

785D98
RGB12093152
HSL267°24.08%48.04%
HSB/HSV267°38.82%59.61%
CMYK21.05%38.82%0.00%
40.39%

Color #785D98 in popluar number systems.

HEX785D98
Decimal12093152
Binary1111000101110110011000
Octal170135230

Shades and tints

Shades of #785D98

#785D98
(120,93,152)
#6E558B
(110,85,139)
#644D7E
(100,77,126)
#5A4571
(90,69,113)
#503D64
(80,61,100)
#463557
(70,53,87)
#3C2D4A
(60,45,74)
#32253D
(50,37,61)
#281D30
(40,29,48)
#1E1523
(30,21,35)
#140D16
(20,13,22)
#000000
(0,0,0)

Tints of #785D98

#785D98
(120,93,152)
#846BA1
(132,107,161)
#9079AA
(144,121,170)
#9C87B3
(156,135,179)
#A895BC
(168,149,188)
#B4A3C5
(180,163,197)
#C0B1CE
(192,177,206)
#CCBFD7
(204,191,215)
#D8CDE0
(216,205,224)
#E4DBE9
(228,219,233)
#F0E9F2
(240,233,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #785D98; }

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

This text font color is #785D98.


Background Color

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

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

This div background color is #785D98.


Border color

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

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

This div border color is #785D98.


Opacity

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

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

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

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

This text has shadow with #785D98 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #785D98 on black background.


Color preview on white background

This text has color #785D98 on white background.



Black color preview on #785D98 background

This text has black color on #785D98 background.


White color preview on #785D98 background

This text has white color on #785D98 background.