COLOR #4E2A6F

HEX: #4E2A6F
RGB: (78,42,111)

Color info

#4E2A6F contains mainly red and blue colors. Web safe color of #4E2A6F is #663366 (or #636).

RGB color model

#4E2A6F color RGB value is (78,42,111).

  • red value is 78;
  • green value is 42;
  • blue value is 111.
RGB:
(78,42,111)
(31%,16%,44%)

RGB channels and saturation

R 78 of 255 = 31%
G 42 of 255 = 16%
B 111 of 255 = 44%

78
42
111

R + G + B ~ 30%. #4E2A6F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
78 + 42 + 111 = 231 (100%)
R 78 of 231 ~ 33.77%
G 42 of 231 ~ 18.18%
B 111 of 231 ~ 48.05%

%33.77
%18.18
%48.05

CMYK color model

#4E2A6F color CMYK value is (30,62,0,56).

  • cyan value is 29.73%
  • magenta value is 62.16%
  • yellow value is 0.00%
  • key color value is 56.47%
CMYK:
(30,62,0,56)
C30M62Y0K56 
(30%,62%,0%,56%)
(0.30/0.62/0.00/0.56)	

CMYK percentages

%29.73
%62.16
%0
%56.47

Codes

Color #4E2A6F in popluar color models

4E2A6F
RGB7842111
HSL271°45.10%30.00%
HSB/HSV271°62.16%43.53%
CMYK29.73%62.16%0.00%
56.47%

Color #4E2A6F in popluar number systems.

HEX4E2A6F
Decimal7842111
Binary10011101010101101111
Octal11652157

Shades and tints

Shades of #4E2A6F

#4E2A6F
(78,42,111)
#472765
(71,39,101)
#40245B
(64,36,91)
#392151
(57,33,81)
#321E47
(50,30,71)
#2B1B3D
(43,27,61)
#241833
(36,24,51)
#1D1529
(29,21,41)
#16121F
(22,18,31)
#0F0F15
(15,15,21)
#080C0B
(8,12,11)
#000000
(0,0,0)

Tints of #4E2A6F

#4E2A6F
(78,42,111)
#5E3D7C
(94,61,124)
#6E5089
(110,80,137)
#7E6396
(126,99,150)
#8E76A3
(142,118,163)
#9E89B0
(158,137,176)
#AE9CBD
(174,156,189)
#BEAFCA
(190,175,202)
#CEC2D7
(206,194,215)
#DED5E4
(222,213,228)
#EEE8F1
(238,232,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4E2A6F color. Also use rgb(78,42,111) instead hex code.

Text Font Color

.myTextColor { color: #4E2A6F; }

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

This text font color is #4E2A6F.


Background Color

.myBgColor { background-color: #4E2A6F; }

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

This div background color is #4E2A6F.


Border color

.myBorderColor { border: 1px solid #4E2A6F; }

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

This div border color is #4E2A6F.


Opacity

.myOpacity80 { color: #4E2A6F; opacity: 0.8; }

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

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

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

This text has shadow with #4E2A6F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4E2A6F on black background.


Color preview on white background

This text has color #4E2A6F on white background.



Black color preview on #4E2A6F background

This text has black color on #4E2A6F background.


White color preview on #4E2A6F background

This text has white color on #4E2A6F background.