COLOR #4D1B9A

HEX: #4D1B9A
RGB: (77,27,154)

Color info

#4D1B9A contains mainly blue color. Web safe color of #4D1B9A is #333399 (or #339).

RGB color model

#4D1B9A color RGB value is (77,27,154).

  • red value is 77;
  • green value is 27;
  • blue value is 154.
RGB:
(77,27,154)
(30%,11%,60%)

RGB channels and saturation

R 77 of 255 = 30%
G 27 of 255 = 11%
B 154 of 255 = 60%

77
27
154

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

Portions of RGB colors in percentages

R + G + B =
77 + 27 + 154 = 258 (100%)
R 77 of 258 ~ 29.84%
G 27 of 258 ~ 10.47%
B 154 of 258 ~ 59.69%

%29.84
%10.47
%59.69

CMYK color model

#4D1B9A color CMYK value is (50,82,0,40).

  • cyan value is 50.00%
  • magenta value is 82.47%
  • yellow value is 0.00%
  • key color value is 39.61%
CMYK:
(50,82,0,40)
C50M82Y0K40 
(50%,82%,0%,40%)
(0.50/0.82/0.00/0.40)	

CMYK percentages

%50
%82.47
%0
%39.61

Codes

Color #4D1B9A in popluar color models

4D1B9A
RGB7727154
HSL264°70.17%35.49%
HSB/HSV264°82.47%60.39%
CMYK50.00%82.47%0.00%
39.61%

Color #4D1B9A in popluar number systems.

HEX4D1B9A
Decimal7727154
Binary10011011101110011010
Octal11533232

Shades and tints

Shades of #4D1B9A

#4D1B9A
(77,27,154)
#46198C
(70,25,140)
#3F177E
(63,23,126)
#381570
(56,21,112)
#311362
(49,19,98)
#2A1154
(42,17,84)
#230F46
(35,15,70)
#1C0D38
(28,13,56)
#150B2A
(21,11,42)
#0E091C
(14,9,28)
#07070E
(7,7,14)
#000000
(0,0,0)

Tints of #4D1B9A

#4D1B9A
(77,27,154)
#5D2FA3
(93,47,163)
#6D43AC
(109,67,172)
#7D57B5
(125,87,181)
#8D6BBE
(141,107,190)
#9D7FC7
(157,127,199)
#AD93D0
(173,147,208)
#BDA7D9
(189,167,217)
#CDBBE2
(205,187,226)
#DDCFEB
(221,207,235)
#EDE3F4
(237,227,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4D1B9A color. Also use rgb(77,27,154) instead hex code.

Text Font Color

.myTextColor { color: #4D1B9A; }

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

This text font color is #4D1B9A.


Background Color

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

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

This div background color is #4D1B9A.


Border color

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

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

This div border color is #4D1B9A.


Opacity

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

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

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

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

This text has shadow with #4D1B9A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4D1B9A on black background.


Color preview on white background

This text has color #4D1B9A on white background.



Black color preview on #4D1B9A background

This text has black color on #4D1B9A background.


White color preview on #4D1B9A background

This text has white color on #4D1B9A background.