COLOR #4C0F8B

HEX: #4C0F8B
RGB: (76,15,139)

Color info

#4C0F8B contains mainly blue color. Web safe color of #4C0F8B is #330099 (or #309).

RGB color model

#4C0F8B color RGB value is (76,15,139).

  • red value is 76;
  • green value is 15;
  • blue value is 139.
RGB:
(76,15,139)
(30%,6%,55%)

RGB channels and saturation

R 76 of 255 = 30%
G 15 of 255 = 6%
B 139 of 255 = 55%

76
15
139

R + G + B ~ 30%. #4C0F8B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
76 + 15 + 139 = 230 (100%)
R 76 of 230 ~ 33.04%
G 15 of 230 ~ 6.52%
B 139 of 230 ~ 60.43%

%33.04
%60.43

CMYK color model

#4C0F8B color CMYK value is (45,89,0,45).

  • cyan value is 45.32%
  • magenta value is 89.21%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(45,89,0,45)
C45M89Y0K45 
(45%,89%,0%,45%)
(0.45/0.89/0.00/0.45)	

CMYK percentages

%45.32
%89.21
%0
%45.49

Codes

Color #4C0F8B in popluar color models

4C0F8B
RGB7615139
HSL270°80.52%30.20%
HSB/HSV270°89.21%54.51%
CMYK45.32%89.21%0.00%
45.49%

Color #4C0F8B in popluar number systems.

HEX4C0F8B
Decimal7615139
Binary1001100111110001011
Octal11417213

Shades and tints

Shades of #4C0F8B

#4C0F8B
(76,15,139)
#460E7F
(70,14,127)
#400D73
(64,13,115)
#3A0C67
(58,12,103)
#340B5B
(52,11,91)
#2E0A4F
(46,10,79)
#280943
(40,9,67)
#220837
(34,8,55)
#1C072B
(28,7,43)
#16061F
(22,6,31)
#100513
(16,5,19)
#000000
(0,0,0)

Tints of #4C0F8B

#4C0F8B
(76,15,139)
#5C2495
(92,36,149)
#6C399F
(108,57,159)
#7C4EA9
(124,78,169)
#8C63B3
(140,99,179)
#9C78BD
(156,120,189)
#AC8DC7
(172,141,199)
#BCA2D1
(188,162,209)
#CCB7DB
(204,183,219)
#DCCCE5
(220,204,229)
#ECE1EF
(236,225,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4C0F8B color. Also use rgb(76,15,139) instead hex code.

Text Font Color

.myTextColor { color: #4C0F8B; }

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

This text font color is #4C0F8B.


Background Color

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

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

This div background color is #4C0F8B.


Border color

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

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

This div border color is #4C0F8B.


Opacity

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

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

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

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

This text has shadow with #4C0F8B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4C0F8B on black background.


Color preview on white background

This text has color #4C0F8B on white background.



Black color preview on #4C0F8B background

This text has black color on #4C0F8B background.


White color preview on #4C0F8B background

This text has white color on #4C0F8B background.