randhex
randhex([v1], [v2], [pad], [hashtag]) -> STRING
Return a random hexadecimal string
Syntaxe
randhex("#AABBCC", "#FFFFFF") // between AABBCC and FFFFFF
randhex("0", "FFFFFF", pad=6, hashtag=true) // returns #000000
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
v1 | - | - | Max hex if one arg, Min hex if two |
v2 | - | - | Max hex if two args |
pad | - | - | Force padding length |
hashtag | - | - | Adds a # prefix to the result |