COLOR #381238

HEX: #381238 RGB: (56,18,56)

Color info

#381238 contains red, green and blue colors in about the same proportion. Web safe color of #381238 is #330033 (or #303).

RGB color model

#381238 color RGB value is (56,18,56).

RGB: (56,18,56) (22%, 7%, 22%)

RGB channels and saturation

R 56 of 255 = 22%
G 18 of 255 = 7%
B 56 of 255 = 22%

56
18
56

R + G + B ~ 17%. #381238 is dark color.

Portions of RGB colors in percentages

R + G + B = 56 + 18 + 56 = 130 (100%)
R 56 of 130 ~ 43.08%
G 18 of 130 ~ 13.85%
B 56 of 130 ~ 43.08'%

%43.08
%13.85
%43.08

CMYK color model

#381238 color CMYK value is (0,68,0,78).

  • cyan value is 0.00%
  • magenta value is 67.86%
  • yellow value is 0.00%
  • key color value is 78.04%

CMYK: (0,68,0,78)
C0M68Y0K78 (0%, 68%, 0%, 78%)
(0.00 / 0.68 / 0.00 / 0.78)

CMYK percentages

%0
%67.86
%0
%78.04

Codes

Color #381238 in popluar color models

38 12 38
RGB 56 18 56
HSL 300° 51.35% 14.51%
HSB/HSV 300° 67.86% 21.96%
CMYK 0.00% 67.86% 0.00%
78.04%

Color #381238 in popluar number systems.

HEX 38 12 38
Decimal 56 18 56
Binary 111000 10010 111000
Octal 70 22 70

Shades and tints

Shades of #381238

#381238
(56,18,56)
#331133
(51,17,51)
#2E102E
(46,16,46)
#290F29
(41,15,41)
#240E24
(36,14,36)
#1F0D1F
(31,13,31)
#1A0C1A
(26,12,26)
#150B15
(21,11,21)
#100A10
(16,10,16)
#0B090B
(11,9,11)
#060806
(6,8,6)
#000000
(0,0,0)

Tints of #381238

#381238
(56,18,56)
#4A274A
(74,39,74)
#5C3C5C
(92,60,92)
#6E516E
(110,81,110)
#806680
(128,102,128)
#927B92
(146,123,146)
#A490A4
(164,144,164)
#B6A5B6
(182,165,182)
#C8BAC8
(200,186,200)
#DACFDA
(218,207,218)
#ECE4EC
(236,228,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #381238 color. Also use rgb(56,18,56) instead hex code.

Text Font Color

.myTextColor { color: #381238; }

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

This text font color is #381238.

Background Color

.myBgColor { background-color: #381238; }

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

This div background color is #381238.

Border color

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

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

This div border color is #381238.

Opacity

.myOpacity80 { color: #381238; opacity: 0.8; }

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

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

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

This text has shadow with #381238 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #381238.

Preview

Color preview on black background

This text has color #381238 on black background.


Color preview on white background

This text has color #381238 on white background.


Black color preview on #381238 background

This text has black color on #381238 background.


White color preview on #381238 background

This text has white color on #381238 background.


Related colors

Complementary color

Complementary color for #hex is #C7EDC7.


I love getcolorcode.com

Triadic colors

1 #383812 and #123838 with #381238 are triadic colors.

2 #381238 and #123838 with #381238 are triadic colors.