COLOR #1F1728

HEX: #1F1728
RGB: (31,23,40)

Color info

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

RGB color model

#1F1728 color RGB value is (31,23,40).

  • red value is 31;
  • green value is 23;
  • blue value is 40.
RGB:
(31,23,40)
(12%,9%,16%)

RGB channels and saturation

R 31 of 255 = 12%
G 23 of 255 = 9%
B 40 of 255 = 16%

31
23
40

R + G + B ~ 12%. #1F1728 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 23 + 40 = 94 (100%)
R 31 of 94 ~ 32.98%
G 23 of 94 ~ 24.47%
B 40 of 94 ~ 42.55%

%32.98
%24.47
%42.55

CMYK color model

#1F1728 color CMYK value is (23,43,0,84).

  • cyan value is 22.50%
  • magenta value is 42.50%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(23,43,0,84)
C23M43Y0K84 
(23%,43%,0%,84%)
(0.23/0.43/0.00/0.84)	

CMYK percentages

%22.5
%42.5
%0
%84.31

Codes

Color #1F1728 in popluar color models

1F1728
RGB312340
HSL268°26.98%12.35%
HSB/HSV268°42.50%15.69%
CMYK22.50%42.50%0.00%
84.31%

Color #1F1728 in popluar number systems.

HEX1F1728
Decimal312340
Binary1111110111101000
Octal372750

Shades and tints

Shades of #1F1728

#1F1728
(31,23,40)
#1D1525
(29,21,37)
#1B1322
(27,19,34)
#19111F
(25,17,31)
#170F1C
(23,15,28)
#150D19
(21,13,25)
#130B16
(19,11,22)
#110913
(17,9,19)
#0F0710
(15,7,16)
#0D050D
(13,5,13)
#0B030A
(11,3,10)
#000000
(0,0,0)

Tints of #1F1728

#1F1728
(31,23,40)
#332C3B
(51,44,59)
#47414E
(71,65,78)
#5B5661
(91,86,97)
#6F6B74
(111,107,116)
#838087
(131,128,135)
#97959A
(151,149,154)
#ABAAAD
(171,170,173)
#BFBFC0
(191,191,192)
#D3D4D3
(211,212,211)
#E7E9E6
(231,233,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F1728 color. Also use rgb(31,23,40) instead hex code.

Text Font Color

.myTextColor { color: #1F1728; }

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

This text font color is #1F1728.


Background Color

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

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

This div background color is #1F1728.


Border color

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

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

This div border color is #1F1728.


Opacity

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

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

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

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

This text has shadow with #1F1728 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F1728 on black background.


Color preview on white background

This text has color #1F1728 on white background.



Black color preview on #1F1728 background

This text has black color on #1F1728 background.


White color preview on #1F1728 background

This text has white color on #1F1728 background.