COLOR #381F75

HEX: #381F75
RGB: (56,31,117)

Color info

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

RGB color model

#381F75 color RGB value is (56,31,117).

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

RGB channels and saturation

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

56
31
117

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

Portions of RGB colors in percentages

R + G + B =
56 + 31 + 117 = 204 (100%)
R 56 of 204 ~ 27.45%
G 31 of 204 ~ 15.2%
B 117 of 204 ~ 57.35%

%27.45
%15.2
%57.35

CMYK color model

#381F75 color CMYK value is (52,74,0,54).

  • cyan value is 52.14%
  • magenta value is 73.50%
  • yellow value is 0.00%
  • key color value is 54.12%
CMYK:
(52,74,0,54)
C52M74Y0K54 
(52%,74%,0%,54%)
(0.52/0.74/0.00/0.54)	

CMYK percentages

%52.14
%73.5
%0
%54.12

Codes

Color #381F75 in popluar color models

381F75
RGB5631117
HSL257°58.11%29.02%
HSB/HSV257°73.50%45.88%
CMYK52.14%73.50%0.00%
54.12%

Color #381F75 in popluar number systems.

HEX381F75
Decimal5631117
Binary111000111111110101
Octal7037165

Shades and tints

Shades of #381F75

#381F75
(56,31,117)
#331D6B
(51,29,107)
#2E1B61
(46,27,97)
#291957
(41,25,87)
#24174D
(36,23,77)
#1F1543
(31,21,67)
#1A1339
(26,19,57)
#15112F
(21,17,47)
#100F25
(16,15,37)
#0B0D1B
(11,13,27)
#060B11
(6,11,17)
#000000
(0,0,0)

Tints of #381F75

#381F75
(56,31,117)
#4A3381
(74,51,129)
#5C478D
(92,71,141)
#6E5B99
(110,91,153)
#806FA5
(128,111,165)
#9283B1
(146,131,177)
#A497BD
(164,151,189)
#B6ABC9
(182,171,201)
#C8BFD5
(200,191,213)
#DAD3E1
(218,211,225)
#ECE7ED
(236,231,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #381F75; }

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

This text font color is #381F75.


Background Color

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

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

This div background color is #381F75.


Border color

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

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

This div border color is #381F75.


Opacity

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

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

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

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

This text has shadow with #381F75 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #381F75 on black background.


Color preview on white background

This text has color #381F75 on white background.



Black color preview on #381F75 background

This text has black color on #381F75 background.


White color preview on #381F75 background

This text has white color on #381F75 background.