Skip to content

Commit d3cdf32

Browse files
committed
Correct example in ColorFloat.from_color255 docstring
1 parent 021369a commit d3cdf32

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
@@ -623,7 +623,7 @@ def from_color255(cls, color255: RGBA255) -> Self:
623623
Examples::
624624
625625
>>> ColorFloat.from_color255((255, 0, 0, 255))
626-
Color(r=1.0, g=0, b=0, a=1.0)
626+
Color(r=1.0, g=0.0, b=0.0, a=1.0)
627627
628628
>>> normalized_half_opacity_green = (0, 255, 0, 127)
629629
>>> ColorFloat.from_color255(normalized_half_opacity_green)

0 commit comments

Comments
 (0)