COLOR #781D9A

HEX: #781D9A
RGB: (120,29,154)

Color info

#781D9A contains mainly red and blue colors. Web safe color of #781D9A is #663399 (or #639).

RGB color model

#781D9A color RGB value is (120,29,154).

  • red value is 120;
  • green value is 29;
  • blue value is 154.
RGB:
(120,29,154)
(47%,11%,60%)

RGB channels and saturation

R 120 of 255 = 47%
G 29 of 255 = 11%
B 154 of 255 = 60%

120
29
154

R + G + B ~ 39%. #781D9A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
120 + 29 + 154 = 303 (100%)
R 120 of 303 ~ 39.6%
G 29 of 303 ~ 9.57%
B 154 of 303 ~ 50.83%

%39.6
%9.57
%50.83

CMYK color model

#781D9A color CMYK value is (22,81,0,40).

  • cyan value is 22.08%
  • magenta value is 81.17%
  • yellow value is 0.00%
  • key color value is 39.61%
CMYK:
(22,81,0,40)
C22M81Y0K40 
(22%,81%,0%,40%)
(0.22/0.81/0.00/0.40)	

CMYK percentages

%22.08
%81.17
%0
%39.61

Codes

Color #781D9A in popluar color models

781D9A
RGB12029154
HSL284°68.31%35.88%
HSB/HSV284°81.17%60.39%
CMYK22.08%81.17%0.00%
39.61%

Color #781D9A in popluar number systems.

HEX781D9A
Decimal12029154
Binary11110001110110011010
Octal17035232

Shades and tints

Shades of #781D9A

#781D9A
(120,29,154)
#6E1B8C
(110,27,140)
#64197E
(100,25,126)
#5A1770
(90,23,112)
#501562
(80,21,98)
#461354
(70,19,84)
#3C1146
(60,17,70)
#320F38
(50,15,56)
#280D2A
(40,13,42)
#1E0B1C
(30,11,28)
#14090E
(20,9,14)
#000000
(0,0,0)

Tints of #781D9A

#781D9A
(120,29,154)
#8431A3
(132,49,163)
#9045AC
(144,69,172)
#9C59B5
(156,89,181)
#A86DBE
(168,109,190)
#B481C7
(180,129,199)
#C095D0
(192,149,208)
#CCA9D9
(204,169,217)
#D8BDE2
(216,189,226)
#E4D1EB
(228,209,235)
#F0E5F4
(240,229,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #781D9A color. Also use rgb(120,29,154) instead hex code.

Text Font Color

.myTextColor { color: #781D9A; }

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

This text font color is #781D9A.


Background Color

.myBgColor { background-color: #781D9A; }

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

This div background color is #781D9A.


Border color

.myBorderColor { border: 1px solid #781D9A; }

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

This div border color is #781D9A.


Opacity

.myOpacity80 { color: #781D9A; opacity: 0.8; }

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

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

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

This text has shadow with #781D9A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #781D9A on black background.


Color preview on white background

This text has color #781D9A on white background.



Black color preview on #781D9A background

This text has black color on #781D9A background.


White color preview on #781D9A background

This text has white color on #781D9A background.