mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-18 15:00:00 +00:00
4 lines
110 B
TypeScript
4 lines
110 B
TypeScript
![]() |
export function rgbToInt(rgb: [number, number, number]) {
|
||
|
return (rgb[0] << 16) + (rgb[1] << 8) + rgb[2];
|
||
|
}
|