We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73e8b0b commit 03a02b0Copy full SHA for 03a02b0
src/color/p5.Color.js
@@ -471,7 +471,7 @@ class Color {
471
472
_getRGBA(maxes=[1, 1, 1, 1]) {
473
// Get colorjs maxes
474
- const colorjsMaxes = Color.#colorjsMaxes[this.mode];
+ const colorjsMaxes = Color.#colorjsMaxes[RGB];
475
476
// Normalize everything to 0,1 or the provided range (map)
477
let coords = structuredClone(to(this._color, 'srgb').coords);
0 commit comments