HEX: #FFBF00
RGB: (255,191,0)
#FFBF00 contains mainly red color. Web safe color of #FFBF00 is #FFCC00 (or #FC0).
#FFBF00 color RGB value is (255,191,0).
RGB: (255,191,0) (100%,75%,0%)
R 255 of 255 = 100%
G 191 of 255 = 75%
B 0 of 255 = 0%
R + G + B ~ 58%. #FFBF00 is middle color (not dark and not light).
R + G + B =
255 + 191 + 0 = 446 (100%)
R 255 of 446 ~ 57.17%
G 191 of 446 ~ 42.83%
B 0 of 446 ~ 0%
#FFBF00 color CMYK value is (0,25,100,0).
CMYK: (0,25,100,0) C0M25Y100K0 (0%,25%,100%,0%) (0.00/0.25/1.00/0.00)
FF | BF | 00 | |
---|---|---|---|
RGB | 255 | 191 | 0 |
HSL | 45° | 100.00% | 50.00% |
HSB/HSV | 45° | 100.00% | 100.00% |
CMYK | 0.00% | 25.10% | 100.00% |
0.00% |
HEX | FF | BF | 00 |
Decimal | 255 | 191 | 0 |
Binary | 11111111 | 10111111 | 0 |
Octal | 377 | 277 | 0 |
Examples of css and html codes for elements with #FFBF00 color. Also use rgb(255,191,0) instead hex code.
.myTextColor { color: #FFBF00; }
<p style="color:#FFBF00">This sample text font color is #FFBF00.</p>
This text font color is #FFBF00.
.myBgColor { background-color: #FFBF00; }
<div style="background-color:#FFBF00">Inner text</div>
This div background color is #FFBF00.
.myBorderColor { border: 1px solid #FFBF00; }
<div style="border:3px solid #FFBF00">Div</div>
This div border color is #FFBF00.
.myOpacity80 { color: #FFBF00; opacity: 0.8; }
<p style="color:#FFBF00;opacity:0.8;">80%</p>
Text with #FFBF00 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FFBF00;}
<p style="text-shadow: 3px 3px 1px #FFBF00">Text here.</p>
This text has shadow with #FFBF00 color.
.textShadow {text-shadow: 3px 3px 1px #FFBF00, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FFBF00, 5px 5px 20px red">Text here.</p>
This text has shadow with #FFBF00 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FFBF00, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FFBF00, Direction=45, Strength=4)">Text</p>
This text has shadow with #FFBF00 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FFBF00; -webkit-box-shadow: 1px 1px 3px 2px #FFBF00; box-shadow: 1px 1px 3px 2px #FFBF00; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FFBF00; -webkit-box-shadow: 1px 1px 3px 2px #FFBF00; box-shadow:1px 1px 3px 2px #FFBF00;">
Div content here</div>
This text has color #FFBF00 on black background.
This text has color #FFBF00 on white background.
This text has black color on #FFBF00 background.
This text has white color on #FFBF00 background.