Chapter 17: Bookmarklets

Return to Chapter 17

 

To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.

Converting RGB Values to Hex

See it run: Converting RGB Values to Hex

Script 17.10

This script takes RGB color values and turns them into their hexadecimal equivalents.