COLOR #4A1B57

HEX: #4A1B57
RGB: (74,27,87)

Color info

#4A1B57 contains mainly red and blue colors. Web safe color of #4A1B57 is #333366 (or #336).

RGB color model

#4A1B57 color RGB value is (74,27,87).

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

RGB channels and saturation

R 74 of 255 = 29%
G 27 of 255 = 11%
B 87 of 255 = 34%

74
27
87

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

Portions of RGB colors in percentages

R + G + B =
74 + 27 + 87 = 188 (100%)
R 74 of 188 ~ 39.36%
G 27 of 188 ~ 14.36%
B 87 of 188 ~ 46.28%

%39.36
%14.36
%46.28

CMYK color model

#4A1B57 color CMYK value is (15,69,0,66).

  • cyan value is 14.94%
  • magenta value is 68.97%
  • yellow value is 0.00%
  • key color value is 65.88%
CMYK:
(15,69,0,66)
C15M69Y0K66 
(15%,69%,0%,66%)
(0.15/0.69/0.00/0.66)	

CMYK percentages

%14.94
%68.97
%0
%65.88

Codes

Color #4A1B57 in popluar color models

4A1B57
RGB742787
HSL287°52.63%22.35%
HSB/HSV287°68.97%34.12%
CMYK14.94%68.97%0.00%
65.88%

Color #4A1B57 in popluar number systems.

HEX4A1B57
Decimal742787
Binary1001010110111010111
Octal11233127

Shades and tints

Shades of #4A1B57

#4A1B57
(74,27,87)
#441950
(68,25,80)
#3E1749
(62,23,73)
#381542
(56,21,66)
#32133B
(50,19,59)
#2C1134
(44,17,52)
#260F2D
(38,15,45)
#200D26
(32,13,38)
#1A0B1F
(26,11,31)
#140918
(20,9,24)
#0E0711
(14,7,17)
#000000
(0,0,0)

Tints of #4A1B57

#4A1B57
(74,27,87)
#5A2F66
(90,47,102)
#6A4375
(106,67,117)
#7A5784
(122,87,132)
#8A6B93
(138,107,147)
#9A7FA2
(154,127,162)
#AA93B1
(170,147,177)
#BAA7C0
(186,167,192)
#CABBCF
(202,187,207)
#DACFDE
(218,207,222)
#EAE3ED
(234,227,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #4A1B57; }

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

This text font color is #4A1B57.


Background Color

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

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

This div background color is #4A1B57.


Border color

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

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

This div border color is #4A1B57.


Opacity

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

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

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

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

This text has shadow with #4A1B57 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4A1B57 on black background.


Color preview on white background

This text has color #4A1B57 on white background.



Black color preview on #4A1B57 background

This text has black color on #4A1B57 background.


White color preview on #4A1B57 background

This text has white color on #4A1B57 background.