COLOR #1F1837

HEX: #1F1837
RGB: (31,24,55)

Color info

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

RGB color model

#1F1837 color RGB value is (31,24,55).

  • red value is 31;
  • green value is 24;
  • blue value is 55.
RGB:
(31,24,55)
(12%,9%,22%)

RGB channels and saturation

R 31 of 255 = 12%
G 24 of 255 = 9%
B 55 of 255 = 22%

31
24
55

R + G + B ~ 14%. #1F1837 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 24 + 55 = 110 (100%)
R 31 of 110 ~ 28.18%
G 24 of 110 ~ 21.82%
B 55 of 110 ~ 50%

%28.18
%21.82
%50

CMYK color model

#1F1837 color CMYK value is (44,56,0,78).

  • cyan value is 43.64%
  • magenta value is 56.36%
  • yellow value is 0.00%
  • key color value is 78.43%
CMYK:
(44,56,0,78)
C44M56Y0K78 
(44%,56%,0%,78%)
(0.44/0.56/0.00/0.78)	

CMYK percentages

%43.64
%56.36
%0
%78.43

Codes

Color #1F1837 in popluar color models

1F1837
RGB312455
HSL254°39.24%15.49%
HSB/HSV254°56.36%21.57%
CMYK43.64%56.36%0.00%
78.43%

Color #1F1837 in popluar number systems.

HEX1F1837
Decimal312455
Binary1111111000110111
Octal373067

Shades and tints

Shades of #1F1837

#1F1837
(31,24,55)
#1D1632
(29,22,50)
#1B142D
(27,20,45)
#191228
(25,18,40)
#171023
(23,16,35)
#150E1E
(21,14,30)
#130C19
(19,12,25)
#110A14
(17,10,20)
#0F080F
(15,8,15)
#0D060A
(13,6,10)
#0B0405
(11,4,5)
#000000
(0,0,0)

Tints of #1F1837

#1F1837
(31,24,55)
#332D49
(51,45,73)
#47425B
(71,66,91)
#5B576D
(91,87,109)
#6F6C7F
(111,108,127)
#838191
(131,129,145)
#9796A3
(151,150,163)
#ABABB5
(171,171,181)
#BFC0C7
(191,192,199)
#D3D5D9
(211,213,217)
#E7EAEB
(231,234,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F1837 color. Also use rgb(31,24,55) instead hex code.

Text Font Color

.myTextColor { color: #1F1837; }

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

This text font color is #1F1837.


Background Color

.myBgColor { background-color: #1F1837; }

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

This div background color is #1F1837.


Border color

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

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

This div border color is #1F1837.


Opacity

.myOpacity80 { color: #1F1837; opacity: 0.8; }

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

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

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

This text has shadow with #1F1837 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F1837 on black background.


Color preview on white background

This text has color #1F1837 on white background.



Black color preview on #1F1837 background

This text has black color on #1F1837 background.


White color preview on #1F1837 background

This text has white color on #1F1837 background.