COLOR #1F1F55

HEX: #1F1F55
RGB: (31,31,85)

Color info

#1F1F55 contains red, green and blue colors in about the same proportion. Web safe color of #1F1F55 is #333366 (or #336).

RGB color model

#1F1F55 color RGB value is (31,31,85).

  • red value is 31;
  • green value is 31;
  • blue value is 85.
RGB:
(31,31,85)
(12%,12%,33%)

RGB channels and saturation

R 31 of 255 = 12%
G 31 of 255 = 12%
B 85 of 255 = 33%

31
31
85

R + G + B ~ 19%. #1F1F55 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 31 + 85 = 147 (100%)
R 31 of 147 ~ 21.09%
G 31 of 147 ~ 21.09%
B 85 of 147 ~ 57.82%

%21.09
%21.09
%57.82

CMYK color model

#1F1F55 color CMYK value is (64,64,0,67).

  • cyan value is 63.53%
  • magenta value is 63.53%
  • yellow value is 0.00%
  • key color value is 66.67%
CMYK:
(64,64,0,67)
C64M64Y0K67 
(64%,64%,0%,67%)
(0.64/0.64/0.00/0.67)	

CMYK percentages

%63.53
%63.53
%0
%66.67

Codes

Color #1F1F55 in popluar color models

1F1F55
RGB313185
HSL240°46.55%22.75%
HSB/HSV240°63.53%33.33%
CMYK63.53%63.53%0.00%
66.67%

Color #1F1F55 in popluar number systems.

HEX1F1F55
Decimal313185
Binary11111111111010101
Octal3737125

Shades and tints

Shades of #1F1F55

#1F1F55
(31,31,85)
#1D1D4E
(29,29,78)
#1B1B47
(27,27,71)
#191940
(25,25,64)
#171739
(23,23,57)
#151532
(21,21,50)
#13132B
(19,19,43)
#111124
(17,17,36)
#0F0F1D
(15,15,29)
#0D0D16
(13,13,22)
#0B0B0F
(11,11,15)
#000000
(0,0,0)

Tints of #1F1F55

#1F1F55
(31,31,85)
#333364
(51,51,100)
#474773
(71,71,115)
#5B5B82
(91,91,130)
#6F6F91
(111,111,145)
#8383A0
(131,131,160)
#9797AF
(151,151,175)
#ABABBE
(171,171,190)
#BFBFCD
(191,191,205)
#D3D3DC
(211,211,220)
#E7E7EB
(231,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F1F55; }

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

This text font color is #1F1F55.


Background Color

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

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

This div background color is #1F1F55.


Border color

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

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

This div border color is #1F1F55.


Opacity

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

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

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

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

This text has shadow with #1F1F55 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F1F55 on black background.


Color preview on white background

This text has color #1F1F55 on white background.



Black color preview on #1F1F55 background

This text has black color on #1F1F55 background.


White color preview on #1F1F55 background

This text has white color on #1F1F55 background.