COLOR #840478

HEX: #840478
RGB: (132,4,120)

Color info

#840478 contains mainly red and blue colors. Web safe color of #840478 is #990066 (or #906).

RGB color model

#840478 color RGB value is (132,4,120).

  • red value is 132;
  • green value is 4;
  • blue value is 120.
RGB:
(132,4,120)
(52%,2%,47%)

RGB channels and saturation

R 132 of 255 = 52%
G 4 of 255 = 2%
B 120 of 255 = 47%

132
4
120

R + G + B ~ 34%. #840478 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
132 + 4 + 120 = 256 (100%)
R 132 of 256 ~ 51.56%
G 4 of 256 ~ 1.56%
B 120 of 256 ~ 46.88%

%51.56
%46.88

CMYK color model

#840478 color CMYK value is (0,97,9,48).

  • cyan value is 0.00%
  • magenta value is 96.97%
  • yellow value is 9.09%
  • key color value is 48.24%
CMYK:
(0,97,9,48)
C0M97Y9K48 
(0%,97%,9%,48%)
(0.00/0.97/0.09/0.48)	

CMYK percentages

%0
%96.97
%9.09
%48.24

Codes

Color #840478 in popluar color models

840478
RGB1324120
HSL306°94.12%26.67%
HSB/HSV306°96.97%51.76%
CMYK0.00%96.97%9.09%
48.24%

Color #840478 in popluar number systems.

HEX840478
Decimal1324120
Binary100001001001111000
Octal2044170

Shades and tints

Shades of #840478

#840478
(132,4,120)
#78046E
(120,4,110)
#6C0464
(108,4,100)
#60045A
(96,4,90)
#540450
(84,4,80)
#480446
(72,4,70)
#3C043C
(60,4,60)
#300432
(48,4,50)
#240428
(36,4,40)
#18041E
(24,4,30)
#0C0414
(12,4,20)
#000000
(0,0,0)

Tints of #840478

#840478
(132,4,120)
#8F1A84
(143,26,132)
#9A3090
(154,48,144)
#A5469C
(165,70,156)
#B05CA8
(176,92,168)
#BB72B4
(187,114,180)
#C688C0
(198,136,192)
#D19ECC
(209,158,204)
#DCB4D8
(220,180,216)
#E7CAE4
(231,202,228)
#F2E0F0
(242,224,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #840478 color. Also use rgb(132,4,120) instead hex code.

Text Font Color

.myTextColor { color: #840478; }

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

This text font color is #840478.


Background Color

.myBgColor { background-color: #840478; }

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

This div background color is #840478.


Border color

.myBorderColor { border: 1px solid #840478; }

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

This div border color is #840478.


Opacity

.myOpacity80 { color: #840478; opacity: 0.8; }

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

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

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

This text has shadow with #840478 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #840478 on black background.


Color preview on white background

This text has color #840478 on white background.



Black color preview on #840478 background

This text has black color on #840478 background.


White color preview on #840478 background

This text has white color on #840478 background.