We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf8779d commit 7e44abdCopy full SHA for 7e44abd
arcade/types.py
@@ -620,7 +620,7 @@ def from_color255(cls, color255: RGBA255) -> Self:
620
Examples::
621
622
>>> ColorFloat.from_color255((255, 0, 0, 255))
623
- Color(r=1.0, g=0, b=0, a=1.0)
+ Color(r=1.0, g=0.0, b=0.0, a=1.0)
624
625
>>> normalized_half_opacity_green = (0, 255, 0, 127)
626
>>> ColorFloat.from_color255(normalized_half_opacity_green)
0 commit comments