COLOR #381F76

HEX: #381F76
RGB: (56,31,118)

Color info

#381F76 contains mainly blue color. Web safe color of #381F76 is #333366 (or #336).

RGB color model

#381F76 color RGB value is (56,31,118).

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

RGB channels and saturation

R 56 of 255 = 22%
G 31 of 255 = 12%
B 118 of 255 = 46%

56
31
118

R + G + B ~ 27%. #381F76 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
56 + 31 + 118 = 205 (100%)
R 56 of 205 ~ 27.32%
G 31 of 205 ~ 15.12%
B 118 of 205 ~ 57.56%

%27.32
%15.12
%57.56

CMYK color model

#381F76 color CMYK value is (53,74,0,54).

  • cyan value is 52.54%
  • magenta value is 73.73%
  • yellow value is 0.00%
  • key color value is 53.73%
CMYK:
(53,74,0,54)
C53M74Y0K54 
(53%,74%,0%,54%)
(0.53/0.74/0.00/0.54)	

CMYK percentages

%52.54
%73.73
%0
%53.73

Codes

Color #381F76 in popluar color models

381F76
RGB5631118
HSL257°58.39%29.22%
HSB/HSV257°73.73%46.27%
CMYK52.54%73.73%0.00%
53.73%

Color #381F76 in popluar number systems.

HEX381F76
Decimal5631118
Binary111000111111110110
Octal7037166

Shades and tints

Shades of #381F76

#381F76
(56,31,118)
#331D6C
(51,29,108)
#2E1B62
(46,27,98)
#291958
(41,25,88)
#24174E
(36,23,78)
#1F1544
(31,21,68)
#1A133A
(26,19,58)
#151130
(21,17,48)
#100F26
(16,15,38)
#0B0D1C
(11,13,28)
#060B12
(6,11,18)
#000000
(0,0,0)

Tints of #381F76

#381F76
(56,31,118)
#4A3382
(74,51,130)
#5C478E
(92,71,142)
#6E5B9A
(110,91,154)
#806FA6
(128,111,166)
#9283B2
(146,131,178)
#A497BE
(164,151,190)
#B6ABCA
(182,171,202)
#C8BFD6
(200,191,214)
#DAD3E2
(218,211,226)
#ECE7EE
(236,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #381F76 color. Also use rgb(56,31,118) instead hex code.

Text Font Color

.myTextColor { color: #381F76; }

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

This text font color is #381F76.


Background Color

.myBgColor { background-color: #381F76; }

<div style="background-color:#381F76">Inner text</div>

This div background color is #381F76.


Border color

.myBorderColor { border: 1px solid #381F76; }

<div style="border:3px solid #381F76">Div</div>

This div border color is #381F76.


Opacity

.myOpacity80 { color: #381F76; opacity: 0.8; }

<p style="color:#381F76;opacity:0.8;">80%</p>

Text with #381F76 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 #381F76;}

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

This text has shadow with #381F76 color.

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

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

This text has shadow with #381F76 primary color and red secondary color.


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

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

This text has shadow with #381F76 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #381F76 on black background.


Color preview on white background

This text has color #381F76 on white background.



Black color preview on #381F76 background

This text has black color on #381F76 background.


White color preview on #381F76 background

This text has white color on #381F76 background.