COLOR #301839

HEX: #301839
RGB: (48,24,57)

Color info

#301839 contains red, green and blue colors in about the same proportion. Web safe color of #301839 is #330033 (or #303).

RGB color model

#301839 color RGB value is (48,24,57).

  • red value is 48;
  • green value is 24;
  • blue value is 57.
RGB:
(48,24,57)
(19%,9%,22%)

RGB channels and saturation

R 48 of 255 = 19%
G 24 of 255 = 9%
B 57 of 255 = 22%

48
24
57

R + G + B ~ 17%. #301839 is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 24 + 57 = 129 (100%)
R 48 of 129 ~ 37.21%
G 24 of 129 ~ 18.6%
B 57 of 129 ~ 44.19%

%37.21
%18.6
%44.19

CMYK color model

#301839 color CMYK value is (16,58,0,78).

  • cyan value is 15.79%
  • magenta value is 57.89%
  • yellow value is 0.00%
  • key color value is 77.65%
CMYK:
(16,58,0,78)
C16M58Y0K78 
(16%,58%,0%,78%)
(0.16/0.58/0.00/0.78)	

CMYK percentages

%15.79
%57.89
%0
%77.65

Codes

Color #301839 in popluar color models

301839
RGB482457
HSL284°40.74%15.88%
HSB/HSV284°57.89%22.35%
CMYK15.79%57.89%0.00%
77.65%

Color #301839 in popluar number systems.

HEX301839
Decimal482457
Binary11000011000111001
Octal603071

Shades and tints

Shades of #301839

#301839
(48,24,57)
#2C1634
(44,22,52)
#28142F
(40,20,47)
#24122A
(36,18,42)
#201025
(32,16,37)
#1C0E20
(28,14,32)
#180C1B
(24,12,27)
#140A16
(20,10,22)
#100811
(16,8,17)
#0C060C
(12,6,12)
#080407
(8,4,7)
#000000
(0,0,0)

Tints of #301839

#301839
(48,24,57)
#422D4B
(66,45,75)
#54425D
(84,66,93)
#66576F
(102,87,111)
#786C81
(120,108,129)
#8A8193
(138,129,147)
#9C96A5
(156,150,165)
#AEABB7
(174,171,183)
#C0C0C9
(192,192,201)
#D2D5DB
(210,213,219)
#E4EAED
(228,234,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #301839 color. Also use rgb(48,24,57) instead hex code.

Text Font Color

.myTextColor { color: #301839; }

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

This text font color is #301839.


Background Color

.myBgColor { background-color: #301839; }

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

This div background color is #301839.


Border color

.myBorderColor { border: 1px solid #301839; }

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

This div border color is #301839.


Opacity

.myOpacity80 { color: #301839; opacity: 0.8; }

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

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

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

This text has shadow with #301839 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #301839 on black background.


Color preview on white background

This text has color #301839 on white background.



Black color preview on #301839 background

This text has black color on #301839 background.


White color preview on #301839 background

This text has white color on #301839 background.