Convert command
,hex2hsl
Turn a hex colour into HSL values.
Everyone can use it
Cooldown
2s
per member, per server
Aliases
2
h2h, hexx
Subcommands
0
none — one call does it
How to use it
Type it in any channel where the bot can read messages. The prefix is , on this server and can be changed with ,prefixes.
Syntax
,hex2hsl <value>
Examples
,hex2hsl helloArguments
Square brackets are optional, angle brackets are required — the same legend ,help hex2hsl prints in Discord.
| Parameter | Kind | What it takes |
|---|---|---|
value | required | a number |
Before you run it
What the command itself checks before it does anything, read from the src/commands/convert/hex2hsl.js source.
- Permissions
- No Discord permission flag is read directly — access goes through the bot's own rules
- Reads
- only your message arguments
- Replies with
- a plain message
- Cooldown
- 2s per member, per server
In Discord
What a member sees when they run it. The reply is sent as a Components V2 panel on the server's accent colour, paginated when it is long.
M
,hex2hsl hello
B
Turn a hex colour into HSL values.
Related
More convert commands
Commands that usually get used alongside ,hex2hsl.
,hex2rgbConvertTurn a hex colour into RGB values.aliases: h2r, hex2,hexdecodeConvertDecode hexadecimal back into text.aliases: hd, hexd,hexencodeConvertEncode text as hexadecimal.aliases: he, hexe,absConvertAbsolute value of a number.aliases: absx,ageConvertHow old an account or date is.aliases: agex,averageConvertAverage of the numbers you give.aliases: ave, aver
Ready to put bleh in your server?
Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.