3 ms·
Yeah I dug up the relevant function because I was curious how one would solve this. return (r * 1000 + g * 100 + b * 10 + a * 255) / 10000; https://github
by efskap 1y ago
Yeah I dug up the relevant function because I was curious how one would solve this.
return (r * 1000 + g * 100 + b * 10 + a * 255) / 10000;
https://github.com/Stanko/monorail/blob/2da287a4e822705a99d75aa2613997f6dda4dc2f/src/lib/parser.ts#L196-L199 https://github.com/Stanko/monorail/blob/2da287a4e822705a99d7...