COLOR #4E1B57

HEX: #4E1B57
RGB: (78,27,87)

Color info

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

RGB color model

#4E1B57 color RGB value is (78,27,87).

  • red value is 78;
  • green value is 27;
  • blue value is 87.
RGB:
(78,27,87)
(31%,11%,34%)

RGB channels and saturation

R 78 of 255 = 31%
G 27 of 255 = 11%
B 87 of 255 = 34%

78
27
87

R + G + B ~ 25%. #4E1B57 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
78 + 27 + 87 = 192 (100%)
R 78 of 192 ~ 40.63%
G 27 of 192 ~ 14.06%
B 87 of 192 ~ 45.31%

%40.63
%14.06
%45.31

CMYK color model

#4E1B57 color CMYK value is (10,69,0,66).

  • cyan value is 10.34%
  • magenta value is 68.97%
  • yellow value is 0.00%
  • key color value is 65.88%
CMYK:
(10,69,0,66)
C10M69Y0K66 
(10%,69%,0%,66%)
(0.10/0.69/0.00/0.66)	

CMYK percentages

%10.34
%68.97
%0
%65.88

Codes

Color #4E1B57 in popluar color models

4E1B57
RGB782787
HSL291°52.63%22.35%
HSB/HSV291°68.97%34.12%
CMYK10.34%68.97%0.00%
65.88%

Color #4E1B57 in popluar number systems.

HEX4E1B57
Decimal782787
Binary1001110110111010111
Octal11633127

Shades and tints

Shades of #4E1B57

#4E1B57
(78,27,87)
#471950
(71,25,80)
#401749
(64,23,73)
#391542
(57,21,66)
#32133B
(50,19,59)
#2B1134
(43,17,52)
#240F2D
(36,15,45)
#1D0D26
(29,13,38)
#160B1F
(22,11,31)
#0F0918
(15,9,24)
#080711
(8,7,17)
#000000
(0,0,0)

Tints of #4E1B57

#4E1B57
(78,27,87)
#5E2F66
(94,47,102)
#6E4375
(110,67,117)
#7E5784
(126,87,132)
#8E6B93
(142,107,147)
#9E7FA2
(158,127,162)
#AE93B1
(174,147,177)
#BEA7C0
(190,167,192)
#CEBBCF
(206,187,207)
#DECFDE
(222,207,222)
#EEE3ED
(238,227,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4E1B57 color. Also use rgb(78,27,87) instead hex code.

Text Font Color

.myTextColor { color: #4E1B57; }

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

This text font color is #4E1B57.


Background Color

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

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

This div background color is #4E1B57.


Border color

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

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

This div border color is #4E1B57.


Opacity

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

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

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

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

This text has shadow with #4E1B57 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4E1B57 on black background.


Color preview on white background

This text has color #4E1B57 on white background.



Black color preview on #4E1B57 background

This text has black color on #4E1B57 background.


White color preview on #4E1B57 background

This text has white color on #4E1B57 background.