HEX: #38397D
RGB: (56,57,125)
#38397D contains mainly blue color. Web safe color of #38397D is #333366 (or #336).
#38397D color RGB value is (56,57,125).
RGB: (56,57,125) (22%,22%,49%)
R 56 of 255 = 22%
G 57 of 255 = 22%
B 125 of 255 = 49%
R + G + B ~ 31%. #38397D is quite dark color.
R + G + B =
56 + 57 + 125 = 238 (100%)
R 56 of 238 ~ 23.53%
G 57 of 238 ~ 23.95%
B 125 of 238 ~ 52.52%
#38397D color CMYK value is (55,54,0,51).
CMYK: (55,54,0,51) C55M54Y0K51 (55%,54%,0%,51%) (0.55/0.54/0.00/0.51)
38 | 39 | 7D | |
---|---|---|---|
RGB | 56 | 57 | 125 |
HSL | 239° | 38.12% | 35.49% |
HSB/HSV | 239° | 55.20% | 49.02% |
CMYK | 55.20% | 54.40% | 0.00% |
50.98% |
HEX | 38 | 39 | 7D |
Decimal | 56 | 57 | 125 |
Binary | 111000 | 111001 | 1111101 |
Octal | 70 | 71 | 175 |
Examples of css and html codes for elements with #38397D color. Also use rgb(56,57,125) instead hex code.
.myTextColor { color: #38397D; }
<p style="color:#38397D">This sample text font color is #38397D.</p>
This text font color is #38397D.
.myBgColor { background-color: #38397D; }
<div style="background-color:#38397D">Inner text</div>
This div background color is #38397D.
.myBorderColor { border: 1px solid #38397D; }
<div style="border:3px solid #38397D">Div</div>
This div border color is #38397D.
.myOpacity80 { color: #38397D; opacity: 0.8; }
<p style="color:#38397D;opacity:0.8;">80%</p>
Text with #38397D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #38397D;}
<p style="text-shadow: 3px 3px 1px #38397D">Text here.</p>
This text has shadow with #38397D color.
.textShadow {text-shadow: 3px 3px 1px #38397D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #38397D, 5px 5px 20px red">Text here.</p>
This text has shadow with #38397D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#38397D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#38397D, Direction=45, Strength=4)">Text</p>
This text has shadow with #38397D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #38397D; -webkit-box-shadow: 1px 1px 3px 2px #38397D; box-shadow: 1px 1px 3px 2px #38397D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #38397D; -webkit-box-shadow: 1px 1px 3px 2px #38397D; box-shadow:1px 1px 3px 2px #38397D;">
Div content here</div>
This text has color #38397D on black background.
This text has color #38397D on white background.
This text has black color on #38397D background.
This text has white color on #38397D background.