COLOR #4D1F5A

HEX: #4D1F5A
RGB: (77,31,90)

Color info

#4D1F5A contains red, green and blue colors in about the same proportion. Web safe color of #4D1F5A is #333366 (or #336).

RGB color model

#4D1F5A color RGB value is (77,31,90).

  • red value is 77;
  • green value is 31;
  • blue value is 90.
RGB:
(77,31,90)
(30%,12%,35%)

RGB channels and saturation

R 77 of 255 = 30%
G 31 of 255 = 12%
B 90 of 255 = 35%

77
31
90

R + G + B ~ 26%. #4D1F5A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
77 + 31 + 90 = 198 (100%)
R 77 of 198 ~ 38.89%
G 31 of 198 ~ 15.66%
B 90 of 198 ~ 45.45%

%38.89
%15.66
%45.45

CMYK color model

#4D1F5A color CMYK value is (14,66,0,65).

  • cyan value is 14.44%
  • magenta value is 65.56%
  • yellow value is 0.00%
  • key color value is 64.71%
CMYK:
(14,66,0,65)
C14M66Y0K65 
(14%,66%,0%,65%)
(0.14/0.66/0.00/0.65)	

CMYK percentages

%14.44
%65.56
%0
%64.71

Codes

Color #4D1F5A in popluar color models

4D1F5A
RGB773190
HSL287°48.76%23.73%
HSB/HSV287°65.56%35.29%
CMYK14.44%65.56%0.00%
64.71%

Color #4D1F5A in popluar number systems.

HEX4D1F5A
Decimal773190
Binary1001101111111011010
Octal11537132

Shades and tints

Shades of #4D1F5A

#4D1F5A
(77,31,90)
#461D52
(70,29,82)
#3F1B4A
(63,27,74)
#381942
(56,25,66)
#31173A
(49,23,58)
#2A1532
(42,21,50)
#23132A
(35,19,42)
#1C1122
(28,17,34)
#150F1A
(21,15,26)
#0E0D12
(14,13,18)
#070B0A
(7,11,10)
#000000
(0,0,0)

Tints of #4D1F5A

#4D1F5A
(77,31,90)
#5D3369
(93,51,105)
#6D4778
(109,71,120)
#7D5B87
(125,91,135)
#8D6F96
(141,111,150)
#9D83A5
(157,131,165)
#AD97B4
(173,151,180)
#BDABC3
(189,171,195)
#CDBFD2
(205,191,210)
#DDD3E1
(221,211,225)
#EDE7F0
(237,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4D1F5A color. Also use rgb(77,31,90) instead hex code.

Text Font Color

.myTextColor { color: #4D1F5A; }

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

This text font color is #4D1F5A.


Background Color

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

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

This div background color is #4D1F5A.


Border color

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

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

This div border color is #4D1F5A.


Opacity

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

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

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

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

This text has shadow with #4D1F5A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4D1F5A on black background.


Color preview on white background

This text has color #4D1F5A on white background.



Black color preview on #4D1F5A background

This text has black color on #4D1F5A background.


White color preview on #4D1F5A background

This text has white color on #4D1F5A background.