diff --git a/Libraries/LibGfx/Color.h b/Libraries/LibGfx/Color.h index 4bbfd4dd58b..f278a5bf5fc 100644 --- a/Libraries/LibGfx/Color.h +++ b/Libraries/LibGfx/Color.h @@ -185,10 +185,10 @@ public: static Color from_a98rgb(float r, float g, float b, float alpha = 1.0f); static Color from_display_p3(float r, float g, float b, float alpha = 1.0f); static Color from_lab(float L, float a, float b, float alpha = 1.0f); + static Color from_linear_srgb(float r, float g, float b, float alpha = 1.0f); static Color from_pro_photo_rgb(float r, float g, float b, float alpha = 1.0f); static Color from_xyz50(float x, float y, float z, float alpha = 1.0f); static Color from_xyz65(float x, float y, float z, float alpha = 1.0f); - static Color from_linear_srgb(float x, float y, float z, float alpha = 1.0f); // https://bottosson.github.io/posts/oklab/ static constexpr Color from_oklab(float L, float a, float b, float alpha = 1.0f)