COLOR #4B1789

HEX: #4B1789
RGB: (75,23,137)

Color info

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

RGB color model

#4B1789 color RGB value is (75,23,137).

  • red value is 75;
  • green value is 23;
  • blue value is 137.
RGB:
(75,23,137)
(29%,9%,54%)

RGB channels and saturation

R 75 of 255 = 29%
G 23 of 255 = 9%
B 137 of 255 = 54%

75
23
137

R + G + B ~ 31%. #4B1789 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
75 + 23 + 137 = 235 (100%)
R 75 of 235 ~ 31.91%
G 23 of 235 ~ 9.79%
B 137 of 235 ~ 58.3%

%31.91
%9.79
%58.3

CMYK color model

#4B1789 color CMYK value is (45,83,0,46).

  • cyan value is 45.26%
  • magenta value is 83.21%
  • yellow value is 0.00%
  • key color value is 46.27%
CMYK:
(45,83,0,46)
C45M83Y0K46 
(45%,83%,0%,46%)
(0.45/0.83/0.00/0.46)	

CMYK percentages

%45.26
%83.21
%0
%46.27

Codes

Color #4B1789 in popluar color models

4B1789
RGB7523137
HSL267°71.25%31.37%
HSB/HSV267°83.21%53.73%
CMYK45.26%83.21%0.00%
46.27%

Color #4B1789 in popluar number systems.

HEX4B1789
Decimal7523137
Binary10010111011110001001
Octal11327211

Shades and tints

Shades of #4B1789

#4B1789
(75,23,137)
#45157D
(69,21,125)
#3F1371
(63,19,113)
#391165
(57,17,101)
#330F59
(51,15,89)
#2D0D4D
(45,13,77)
#270B41
(39,11,65)
#210935
(33,9,53)
#1B0729
(27,7,41)
#15051D
(21,5,29)
#0F0311
(15,3,17)
#000000
(0,0,0)

Tints of #4B1789

#4B1789
(75,23,137)
#5B2C93
(91,44,147)
#6B419D
(107,65,157)
#7B56A7
(123,86,167)
#8B6BB1
(139,107,177)
#9B80BB
(155,128,187)
#AB95C5
(171,149,197)
#BBAACF
(187,170,207)
#CBBFD9
(203,191,217)
#DBD4E3
(219,212,227)
#EBE9ED
(235,233,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4B1789 color. Also use rgb(75,23,137) instead hex code.

Text Font Color

.myTextColor { color: #4B1789; }

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

This text font color is #4B1789.


Background Color

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

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

This div background color is #4B1789.


Border color

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

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

This div border color is #4B1789.


Opacity

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

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

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

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

This text has shadow with #4B1789 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4B1789 on black background.


Color preview on white background

This text has color #4B1789 on white background.



Black color preview on #4B1789 background

This text has black color on #4B1789 background.


White color preview on #4B1789 background

This text has white color on #4B1789 background.