Update docs/styles/background.md

Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
This commit is contained in:
Will McGugan
2022-08-05 09:17:44 +01:00
committed by GitHub
parent 078fc245ae
commit cb0537ef8e

View File

@@ -37,5 +37,5 @@ widget.styles.background = "blue"
from textual.color import Color
# Set with a color object
widget.styles.background = Color.parse("pink")
widget.styles.background = Color(120, 60, 100)
```