mirror of
https://github.com/mue/mue.git
synced 2026-07-22 08:17:28 +02:00
soon
This commit is contained in:
@@ -10,8 +10,10 @@ export default function setRGBA(red, green, blue, alpha) {
|
||||
blue: blue | 0,
|
||||
};
|
||||
|
||||
if (isValidRGBValue(alpha) === true) color.alpha = alpha | 0;
|
||||
// RGBToHSL(color.r, color.g, color.b);
|
||||
if (isValidRGBValue(alpha) === true) {
|
||||
color.alpha = alpha | 0;
|
||||
}
|
||||
|
||||
return color;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user