Convert a value [0,1] into a hex code. Useful for obtaining a transparency code based on a floating point number.
1 | val2hex(x)
|
x |
a number or a vector of numbers to convert into hex. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.