A short HTML/Javascript code to change the background colour.
Possible uses include testing web pages with certain backgrounds.
Simply paste wherever you need to test your colours!
- Ctrl+H to find the instance of the colour. eg. (#e6261f)
- Type your hex (with '#') in "Replace".
- Hit "Replace All" to replace the template code with your own colours!
This may work in many text based editors
<span style="color:#e6261f;" onclick="document.body.style.backgroundColor='#e6261f';">●</span>
<span style="color:#eb7532;" onclick="document.body.style.backgroundColor='#eb7532';">●</span>
<span style="color:#f7d038;" onclick="document.body.style.backgroundColor='#f7d038';">●</span>
<span style="color:#a3e048;" onclick="document.body.style.backgroundColor='#a3e048';">●</span>
<span style="color:#49da9a;" onclick="document.body.style.backgroundColor='#49da9a';">●</span>
<span style="color:#34bbe6;" onclick="document.body.style.backgroundColor='#34bbe6';">●</span>
<span style="color:#4355db;" onclick="document.body.style.backgroundColor='#4355db';">●</span>
<span style="color:#d23be7;" onclick="document.body.style.backgroundColor='#d23be7';">●</span>
<span style="color:#fff;" onclick="document.body.style.backgroundColor='#fff';">●</span>
<span style="color:#000;" onclick="document.body.style.backgroundColor='#000';">●</span>
<span style="color:#ccc;" onclick="document.body.style.backgroundColor='#ccc';">●</span>
This palette was found on Loading.io and includes black, white and grey.
A rainbow is a meteorological phenomenon that is caused by reflection, refraction and dispersion of light in water droplets resulting in a spectrum of light appearing in the sky. It takes the form of a multicoloured circular arc. Rainbows caused by sunlight always appear in the section of sky directly opposite the sun.
— adopted from wikipedia, "Rainbow", available under CC BY-SA License.