COLOR #4D127A

HEX: #4D127A RGB: (77,18,122)

Color info

#4D127A contains mainly red and blue colors. Web safe color of #4D127A is #330066 (or #306).

RGB color model

#4D127A color RGB value is (77,18,122).

RGB: (77,18,122) (30%, 7%, 48%)

RGB channels and saturation

R 77 of 255 = 30%
G 18 of 255 = 7%
B 122 of 255 = 48%

77
18
122

R + G + B ~ 28%. #4D127A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 77 + 18 + 122 = 217 (100%)
R 77 of 217 ~ 35.48%
G 18 of 217 ~ 8.29%
B 122 of 217 ~ 56.22'%

%35.48
%56.22

CMYK color model

#4D127A color CMYK value is (37,85,0,52).

  • cyan value is 36.89%
  • magenta value is 85.25%
  • yellow value is 0.00%
  • key color value is 52.16%

CMYK: (37,85,0,52)
C37M85Y0K52 (37%, 85%, 0%, 52%)
(0.37 / 0.85 / 0.00 / 0.52)

CMYK percentages

%36.89
%85.25
%0
%52.16

Codes

Color #4D127A in popluar color models

4D 12 7A
RGB 77 18 122
HSL 274° 74.29% 27.45%
HSB/HSV 274° 85.25% 47.84%
CMYK 36.89% 85.25% 0.00%
52.16%

Color #4D127A in popluar number systems.

HEX 4D 12 7A
Decimal 77 18 122
Binary 1001101 10010 1111010
Octal 115 22 172

Shades and tints

Shades of #4D127A

#4D127A
(77,18,122)
#46116F
(70,17,111)
#3F1064
(63,16,100)
#380F59
(56,15,89)
#310E4E
(49,14,78)
#2A0D43
(42,13,67)
#230C38
(35,12,56)
#1C0B2D
(28,11,45)
#150A22
(21,10,34)
#0E0917
(14,9,23)
#07080C
(7,8,12)
#000000
(0,0,0)

Tints of #4D127A

#4D127A
(77,18,122)
#5D2786
(93,39,134)
#6D3C92
(109,60,146)
#7D519E
(125,81,158)
#8D66AA
(141,102,170)
#9D7BB6
(157,123,182)
#AD90C2
(173,144,194)
#BDA5CE
(189,165,206)
#CDBADA
(205,186,218)
#DDCFE6
(221,207,230)
#EDE4F2
(237,228,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4D127A color. Also use rgb(77,18,122) instead hex code.

Text Font Color

.myTextColor { color: #4D127A; }

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

This text font color is #4D127A.

Background Color

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

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

This div background color is #4D127A.

Border color

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

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

This div border color is #4D127A.

Opacity

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

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

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

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

This text has shadow with #4D127A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #4D127A.

Preview

Color preview on black background

This text has color #4D127A on black background.


Color preview on white background

This text has color #4D127A on white background.


Black color preview on #4D127A background

This text has black color on #4D127A background.


White color preview on #4D127A background

This text has white color on #4D127A background.


Related colors

Complementary color

Complementary color for #hex is #B2ED85.


I love getcolorcode.com

Triadic colors

1 #7A4D12 and #127A4D with #4D127A are triadic colors.

2 #7A124D and #124D7A with #4D127A are triadic colors.