COLOR #781D8B

HEX: #781D8B RGB: (120,29,139)

Color info

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

RGB color model

#781D8B color RGB value is (120,29,139).

RGB: (120,29,139) (47%, 11%, 55%)

RGB channels and saturation

R 120 of 255 = 47%
G 29 of 255 = 11%
B 139 of 255 = 55%

120
29
139

R + G + B ~ 38%. #781D8B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 120 + 29 + 139 = 288 (100%)
R 120 of 288 ~ 41.67%
G 29 of 288 ~ 10.07%
B 139 of 288 ~ 48.26'%

%41.67
%48.26

CMYK color model

#781D8B color CMYK value is (14,79,0,45).

  • cyan value is 13.67%
  • magenta value is 79.14%
  • yellow value is 0.00%
  • key color value is 45.49%

CMYK: (14,79,0,45)
C14M79Y0K45 (14%, 79%, 0%, 45%)
(0.14 / 0.79 / 0.00 / 0.45)

CMYK percentages

%13.67
%79.14
%0
%45.49

Codes

Color #781D8B in popluar color models

78 1D 8B
RGB 120 29 139
HSL 290° 65.48% 32.94%
HSB/HSV 290° 79.14% 54.51%
CMYK 13.67% 79.14% 0.00%
45.49%

Color #781D8B in popluar number systems.

HEX 78 1D 8B
Decimal 120 29 139
Binary 1111000 11101 10001011
Octal 170 35 213

Shades and tints

Shades of #781D8B

#781D8B
(120,29,139)
#6E1B7F
(110,27,127)
#641973
(100,25,115)
#5A1767
(90,23,103)
#50155B
(80,21,91)
#46134F
(70,19,79)
#3C1143
(60,17,67)
#320F37
(50,15,55)
#280D2B
(40,13,43)
#1E0B1F
(30,11,31)
#140913
(20,9,19)
#000000
(0,0,0)

Tints of #781D8B

#781D8B
(120,29,139)
#843195
(132,49,149)
#90459F
(144,69,159)
#9C59A9
(156,89,169)
#A86DB3
(168,109,179)
#B481BD
(180,129,189)
#C095C7
(192,149,199)
#CCA9D1
(204,169,209)
#D8BDDB
(216,189,219)
#E4D1E5
(228,209,229)
#F0E5EF
(240,229,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #781D8B; }

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

This text font color is #781D8B.

Background Color

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

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

This div background color is #781D8B.

Border color

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

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

This div border color is #781D8B.

Opacity

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

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

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

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

This text has shadow with #781D8B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #781D8B.

Preview

Color preview on black background

This text has color #781D8B on black background.


Color preview on white background

This text has color #781D8B on white background.


Black color preview on #781D8B background

This text has black color on #781D8B background.


White color preview on #781D8B background

This text has white color on #781D8B background.


Related colors

Complementary color

Complementary color for #hex is #87E274.


I love getcolorcode.com

Triadic colors

1 #8B781D and #1D8B78 with #781D8B are triadic colors.

2 #8B1D78 and #1D788B with #781D8B are triadic colors.