of static method
- int argb
Create a CorePalette from a source ARGB color.
Implementation
static CorePalette of(int argb) {
final cam = Cam16.fromInt(argb);
return CorePalette._(cam.hue, cam.chroma);
}
Create a CorePalette from a source ARGB color.
static CorePalette of(int argb) {
final cam = Cam16.fromInt(argb);
return CorePalette._(cam.hue, cam.chroma);
}