color: rgb decimal
This commit is contained in:
parent
0430a68f5a
commit
6f483d1675
1 changed files with 5 additions and 0 deletions
|
@ -81,6 +81,11 @@ color.callback = async function (msg, line, args, {truerandom, first}) {
|
||||||
value: color.toRgbString(),
|
value: color.toRgbString(),
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "RGB Decimal",
|
||||||
|
value: `${(color.r / 255).toFixed(3)}, ${(color.g / 255).toFixed(3)}, ${(color.b / 255).toFixed(3)}`,
|
||||||
|
inline: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "HSL",
|
name: "HSL",
|
||||||
value: color.toHslString(),
|
value: color.toHslString(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue