diff --git a/docs/source/reference/lua-scripting/widgets/image.rst b/docs/source/reference/lua-scripting/widgets/image.rst index c461a69a65e..49eaec79e07 100644 --- a/docs/source/reference/lua-scripting/widgets/image.rst +++ b/docs/source/reference/lua-scripting/widgets/image.rst @@ -21,5 +21,5 @@ Properties - boolean (false) - Tile the texture vertically * - color - - util.color (1, 1, 1) + - util.color (``rgb(1, 1, 1)``) - Modulate constant color with the color of the image texture. diff --git a/docs/source/reference/lua-scripting/widgets/text.rst b/docs/source/reference/lua-scripting/widgets/text.rst index 074100577a8..2970724c74c 100644 --- a/docs/source/reference/lua-scripting/widgets/text.rst +++ b/docs/source/reference/lua-scripting/widgets/text.rst @@ -22,7 +22,7 @@ Properties - number (10) - The size of the text. * - textColor - - util.color (0, 0, 0, 1) + - util.color (``rgb(0, 0, 0)``) - The color of the text. * - multiline - boolean (false) @@ -40,5 +40,5 @@ Properties - boolean (false) - Whether to render a shadow behind the text. * - textShadowColor - - util.color (0, 0, 0, 1) + - util.color (``rgb(0, 0, 0)``) - The color of the text shadow. diff --git a/docs/source/reference/lua-scripting/widgets/textedit.rst b/docs/source/reference/lua-scripting/widgets/textedit.rst index 4e80c181972..6cb18fc6857 100644 --- a/docs/source/reference/lua-scripting/widgets/textedit.rst +++ b/docs/source/reference/lua-scripting/widgets/textedit.rst @@ -18,7 +18,7 @@ Properties - number (10) - The size of the text. * - textColor - - util.color (0, 0, 0, 1) + - util.color (``rgb(0, 0, 0)``) - The color of the text. * - multiline - boolean (false)