mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix color bugs
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { Color } from "color";
|
||||
|
||||
export function convertColor(inputColor, outputMode) {
|
||||
console.log(`Converting to ${outputMode}`);
|
||||
|
||||
// Convert color to desired output mode
|
||||
let convertedColor = Color[outputMode]().string();
|
||||
return convertedColor;
|
||||
}
|
||||
Reference in New Issue
Block a user