COLOR #1F173E

HEX: #1F173E
RGB: (31,23,62)

Color info

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

RGB color model

#1F173E color RGB value is (31,23,62).

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

RGB channels and saturation

R 31 of 255 = 12%
G 23 of 255 = 9%
B 62 of 255 = 24%

31
23
62

R + G + B ~ 15%. #1F173E is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 23 + 62 = 116 (100%)
R 31 of 116 ~ 26.72%
G 23 of 116 ~ 19.83%
B 62 of 116 ~ 53.45%

%26.72
%19.83
%53.45

CMYK color model

#1F173E color CMYK value is (50,63,0,76).

  • cyan value is 50.00%
  • magenta value is 62.90%
  • yellow value is 0.00%
  • key color value is 75.69%
CMYK:
(50,63,0,76)
C50M63Y0K76 
(50%,63%,0%,76%)
(0.50/0.63/0.00/0.76)	

CMYK percentages

%50
%62.9
%0
%75.69

Codes

Color #1F173E in popluar color models

1F173E
RGB312362
HSL252°45.88%16.67%
HSB/HSV252°62.90%24.31%
CMYK50.00%62.90%0.00%
75.69%

Color #1F173E in popluar number systems.

HEX1F173E
Decimal312362
Binary1111110111111110
Octal372776

Shades and tints

Shades of #1F173E

#1F173E
(31,23,62)
#1D1539
(29,21,57)
#1B1334
(27,19,52)
#19112F
(25,17,47)
#170F2A
(23,15,42)
#150D25
(21,13,37)
#130B20
(19,11,32)
#11091B
(17,9,27)
#0F0716
(15,7,22)
#0D0511
(13,5,17)
#0B030C
(11,3,12)
#000000
(0,0,0)

Tints of #1F173E

#1F173E
(31,23,62)
#332C4F
(51,44,79)
#474160
(71,65,96)
#5B5671
(91,86,113)
#6F6B82
(111,107,130)
#838093
(131,128,147)
#9795A4
(151,149,164)
#ABAAB5
(171,170,181)
#BFBFC6
(191,191,198)
#D3D4D7
(211,212,215)
#E7E9E8
(231,233,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F173E; }

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

This text font color is #1F173E.


Background Color

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

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

This div background color is #1F173E.


Border color

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

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

This div border color is #1F173E.


Opacity

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

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

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

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

This text has shadow with #1F173E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F173E on black background.


Color preview on white background

This text has color #1F173E on white background.



Black color preview on #1F173E background

This text has black color on #1F173E background.


White color preview on #1F173E background

This text has white color on #1F173E background.