diff --git a/core/variant/variant_setget.cpp b/core/variant/variant_setget.cpp
index 1652f81d999..560067fc088 100644
--- a/core/variant/variant_setget.cpp
+++ b/core/variant/variant_setget.cpp
@@ -141,6 +141,10 @@ void register_named_setters_getters() {
REGISTER_MEMBER(Color, h);
REGISTER_MEMBER(Color, s);
REGISTER_MEMBER(Color, v);
+
+ REGISTER_MEMBER(Color, ok_hsl_h);
+ REGISTER_MEMBER(Color, ok_hsl_s);
+ REGISTER_MEMBER(Color, ok_hsl_l);
}
void unregister_named_setters_getters() {
diff --git a/doc/classes/Color.xml b/doc/classes/Color.xml
index 9fe42fff904..bfc5b97b5d4 100644
--- a/doc/classes/Color.xml
+++ b/doc/classes/Color.xml
@@ -495,6 +495,15 @@
The HSV hue of this color, on the range 0 to 1.
+
+ The OKHSL hue of this color, on the range 0 to 1.
+
+
+ The OKHSL lightness of this color, on the range 0 to 1.
+
+
+ The OKHSL saturation of this color, on the range 0 to 1.
+
The color's red component, typically on the range of 0 to 1.