COLOR #1F2559

HEX: #1F2559
RGB: (31,37,89)

Color info

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

RGB color model

#1F2559 color RGB value is (31,37,89).

  • red value is 31;
  • green value is 37;
  • blue value is 89.
RGB:
(31,37,89)
(12%,15%,35%)

RGB channels and saturation

R 31 of 255 = 12%
G 37 of 255 = 15%
B 89 of 255 = 35%

31
37
89

R + G + B ~ 21%. #1F2559 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 37 + 89 = 157 (100%)
R 31 of 157 ~ 19.75%
G 37 of 157 ~ 23.57%
B 89 of 157 ~ 56.69%

%19.75
%23.57
%56.69

CMYK color model

#1F2559 color CMYK value is (65,58,0,65).

  • cyan value is 65.17%
  • magenta value is 58.43%
  • yellow value is 0.00%
  • key color value is 65.10%
CMYK:
(65,58,0,65)
C65M58Y0K65 
(65%,58%,0%,65%)
(0.65/0.58/0.00/0.65)	

CMYK percentages

%65.17
%58.43
%0
%65.1

Codes

Color #1F2559 in popluar color models

1F2559
RGB313789
HSL234°48.33%23.53%
HSB/HSV234°65.17%34.90%
CMYK65.17%58.43%0.00%
65.10%

Color #1F2559 in popluar number systems.

HEX1F2559
Decimal313789
Binary111111001011011001
Octal3745131

Shades and tints

Shades of #1F2559

#1F2559
(31,37,89)
#1D2251
(29,34,81)
#1B1F49
(27,31,73)
#191C41
(25,28,65)
#171939
(23,25,57)
#151631
(21,22,49)
#131329
(19,19,41)
#111021
(17,16,33)
#0F0D19
(15,13,25)
#0D0A11
(13,10,17)
#0B0709
(11,7,9)
#000000
(0,0,0)

Tints of #1F2559

#1F2559
(31,37,89)
#333868
(51,56,104)
#474B77
(71,75,119)
#5B5E86
(91,94,134)
#6F7195
(111,113,149)
#8384A4
(131,132,164)
#9797B3
(151,151,179)
#ABAAC2
(171,170,194)
#BFBDD1
(191,189,209)
#D3D0E0
(211,208,224)
#E7E3EF
(231,227,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F2559; }

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

This text font color is #1F2559.


Background Color

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

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

This div background color is #1F2559.


Border color

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

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

This div border color is #1F2559.


Opacity

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

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

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

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

This text has shadow with #1F2559 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F2559 on black background.


Color preview on white background

This text has color #1F2559 on white background.



Black color preview on #1F2559 background

This text has black color on #1F2559 background.


White color preview on #1F2559 background

This text has white color on #1F2559 background.