COLOR #301831

HEX: #301831
RGB: (48,24,49)

Color info

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

RGB color model

#301831 color RGB value is (48,24,49).

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

RGB channels and saturation

R 48 of 255 = 19%
G 24 of 255 = 9%
B 49 of 255 = 19%

48
24
49

R + G + B ~ 16%. #301831 is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 24 + 49 = 121 (100%)
R 48 of 121 ~ 39.67%
G 24 of 121 ~ 19.83%
B 49 of 121 ~ 40.5%

%39.67
%19.83
%40.5

CMYK color model

#301831 color CMYK value is (2,51,0,81).

  • cyan value is 2.04%
  • magenta value is 51.02%
  • yellow value is 0.00%
  • key color value is 80.78%
CMYK:
(2,51,0,81)
C2M51Y0K81 
(2%,51%,0%,81%)
(0.02/0.51/0.00/0.81)	

CMYK percentages

%2.04
%51.02
%0
%80.78

Codes

Color #301831 in popluar color models

301831
RGB482449
HSL298°34.25%14.31%
HSB/HSV298°51.02%19.22%
CMYK2.04%51.02%0.00%
80.78%

Color #301831 in popluar number systems.

HEX301831
Decimal482449
Binary11000011000110001
Octal603061

Shades and tints

Shades of #301831

#301831
(48,24,49)
#2C162D
(44,22,45)
#281429
(40,20,41)
#241225
(36,18,37)
#201021
(32,16,33)
#1C0E1D
(28,14,29)
#180C19
(24,12,25)
#140A15
(20,10,21)
#100811
(16,8,17)
#0C060D
(12,6,13)
#080409
(8,4,9)
#000000
(0,0,0)

Tints of #301831

#301831
(48,24,49)
#422D43
(66,45,67)
#544255
(84,66,85)
#665767
(102,87,103)
#786C79
(120,108,121)
#8A818B
(138,129,139)
#9C969D
(156,150,157)
#AEABAF
(174,171,175)
#C0C0C1
(192,192,193)
#D2D5D3
(210,213,211)
#E4EAE5
(228,234,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #301831; }

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

This text font color is #301831.


Background Color

.myBgColor { background-color: #301831; }

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

This div background color is #301831.


Border color

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

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

This div border color is #301831.


Opacity

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

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

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

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

This text has shadow with #301831 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #301831 on black background.


Color preview on white background

This text has color #301831 on white background.



Black color preview on #301831 background

This text has black color on #301831 background.


White color preview on #301831 background

This text has white color on #301831 background.