COLOR #4B187E

HEX: #4B187E RGB: (75,24,126)

Color info

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

RGB color model

#4B187E color RGB value is (75,24,126).

RGB: (75,24,126) (29%, 9%, 49%)

RGB channels and saturation

R 75 of 255 = 29%
G 24 of 255 = 9%
B 126 of 255 = 49%

75
24
126

R + G + B ~ 29%. #4B187E is quite dark color.

Portions of RGB colors in percentages

R + G + B = 75 + 24 + 126 = 225 (100%)
R 75 of 225 ~ 33.33%
G 24 of 225 ~ 10.67%
B 126 of 225 ~ 56'%

%33.33
%10.67
%56

CMYK color model

#4B187E color CMYK value is (40,81,0,51).

  • cyan value is 40.48%
  • magenta value is 80.95%
  • yellow value is 0.00%
  • key color value is 50.59%

CMYK: (40,81,0,51)
C40M81Y0K51 (40%, 81%, 0%, 51%)
(0.40 / 0.81 / 0.00 / 0.51)

CMYK percentages

%40.48
%80.95
%0
%50.59

Codes

Color #4B187E in popluar color models

4B 18 7E
RGB 75 24 126
HSL 270° 68.00% 29.41%
HSB/HSV 270° 80.95% 49.41%
CMYK 40.48% 80.95% 0.00%
50.59%

Color #4B187E in popluar number systems.

HEX 4B 18 7E
Decimal 75 24 126
Binary 1001011 11000 1111110
Octal 113 30 176

Shades and tints

Shades of #4B187E

#4B187E
(75,24,126)
#451673
(69,22,115)
#3F1468
(63,20,104)
#39125D
(57,18,93)
#331052
(51,16,82)
#2D0E47
(45,14,71)
#270C3C
(39,12,60)
#210A31
(33,10,49)
#1B0826
(27,8,38)
#15061B
(21,6,27)
#0F0410
(15,4,16)
#000000
(0,0,0)

Tints of #4B187E

#4B187E
(75,24,126)
#5B2D89
(91,45,137)
#6B4294
(107,66,148)
#7B579F
(123,87,159)
#8B6CAA
(139,108,170)
#9B81B5
(155,129,181)
#AB96C0
(171,150,192)
#BBABCB
(187,171,203)
#CBC0D6
(203,192,214)
#DBD5E1
(219,213,225)
#EBEAEC
(235,234,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4B187E color. Also use rgb(75,24,126) instead hex code.

Text Font Color

.myTextColor { color: #4B187E; }

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

This text font color is #4B187E.

Background Color

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

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

This div background color is #4B187E.

Border color

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

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

This div border color is #4B187E.

Opacity

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

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

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

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

This text has shadow with #4B187E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #4B187E.

Preview

Color preview on black background

This text has color #4B187E on black background.


Color preview on white background

This text has color #4B187E on white background.


Black color preview on #4B187E background

This text has black color on #4B187E background.


White color preview on #4B187E background

This text has white color on #4B187E background.


Related colors

Complementary color

Complementary color for #hex is #B4E781.


I love getcolorcode.com

Triadic colors

1 #7E4B18 and #187E4B with #4B187E are triadic colors.

2 #7E184B and #184B7E with #4B187E are triadic colors.