COLOR #1F0476

HEX: #1F0476
RGB: (31,4,118)

Color info

#1F0476 contains mainly blue color. Web safe color of #1F0476 is #330066 (or #306).

RGB color model

#1F0476 color RGB value is (31,4,118).

  • red value is 31;
  • green value is 4;
  • blue value is 118.
RGB:
(31,4,118)
(12%,2%,46%)

RGB channels and saturation

R 31 of 255 = 12%
G 4 of 255 = 2%
B 118 of 255 = 46%

31
4
118

R + G + B ~ 20%. #1F0476 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 4 + 118 = 153 (100%)
R 31 of 153 ~ 20.26%
G 4 of 153 ~ 2.61%
B 118 of 153 ~ 77.12%

%20.26
%77.12

CMYK color model

#1F0476 color CMYK value is (74,97,0,54).

  • cyan value is 73.73%
  • magenta value is 96.61%
  • yellow value is 0.00%
  • key color value is 53.73%
CMYK:
(74,97,0,54)
C74M97Y0K54 
(74%,97%,0%,54%)
(0.74/0.97/0.00/0.54)	

CMYK percentages

%73.73
%96.61
%0
%53.73

Codes

Color #1F0476 in popluar color models

1F0476
RGB314118
HSL254°93.44%23.92%
HSB/HSV254°96.61%46.27%
CMYK73.73%96.61%0.00%
53.73%

Color #1F0476 in popluar number systems.

HEX1F0476
Decimal314118
Binary111111001110110
Octal374166

Shades and tints

Shades of #1F0476

#1F0476
(31,4,118)
#1D046C
(29,4,108)
#1B0462
(27,4,98)
#190458
(25,4,88)
#17044E
(23,4,78)
#150444
(21,4,68)
#13043A
(19,4,58)
#110430
(17,4,48)
#0F0426
(15,4,38)
#0D041C
(13,4,28)
#0B0412
(11,4,18)
#000000
(0,0,0)

Tints of #1F0476

#1F0476
(31,4,118)
#331A82
(51,26,130)
#47308E
(71,48,142)
#5B469A
(91,70,154)
#6F5CA6
(111,92,166)
#8372B2
(131,114,178)
#9788BE
(151,136,190)
#AB9ECA
(171,158,202)
#BFB4D6
(191,180,214)
#D3CAE2
(211,202,226)
#E7E0EE
(231,224,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1F0476; }

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

This text font color is #1F0476.


Background Color

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

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

This div background color is #1F0476.


Border color

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

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

This div border color is #1F0476.


Opacity

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

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

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

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

This text has shadow with #1F0476 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F0476 on black background.


Color preview on white background

This text has color #1F0476 on white background.



Black color preview on #1F0476 background

This text has black color on #1F0476 background.


White color preview on #1F0476 background

This text has white color on #1F0476 background.