Skip to content

Commit 7e44abd

Browse files
committed
Correct example in ColorFloat.from_color255 docstring
1 parent cf8779d commit 7e44abd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arcade/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ def from_color255(cls, color255: RGBA255) -> Self:
620620
Examples::
621621
622622
>>> ColorFloat.from_color255((255, 0, 0, 255))
623-
Color(r=1.0, g=0, b=0, a=1.0)
623+
Color(r=1.0, g=0.0, b=0.0, a=1.0)
624624
625625
>>> normalized_half_opacity_green = (0, 255, 0, 127)
626626
>>> ColorFloat.from_color255(normalized_half_opacity_green)

0 commit comments

Comments
 (0)