docs(style): fix typo

This commit is contained in:
Sourajyoti Basak 2022-02-12 07:30:07 +00:00 committed by GitHub
parent a6ea98901e
commit e00a07966e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ You may also use the color's number (an integer between 0 and 255) with the synt
console.print("Hello", style="color(5)")
Alteratively you can use a CSS-like syntax to specify a color with a "#" followed by three pairs of hex characters, or in RGB form with three decimal integers. The following two lines both print "Hello" in the same color (purple)::
Alternatively you can use a CSS-like syntax to specify a color with a "#" followed by three pairs of hex characters, or in RGB form with three decimal integers. The following two lines both print "Hello" in the same color (purple)::
console.print("Hello", style="#af00ff")
console.print("Hello", style="rgb(175,0,255)")