updated view
This commit is contained in:
9
resurse vechi /collors info.txt
Normal file
9
resurse vechi /collors info.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
To update the colors to the specified values, we will convert the hex color codes to RGBA format (values between 0 and 1) and update the `server_box_color` property in the `HomeScreen` class.
|
||||
|
||||
Here are the RGBA equivalents of the provided hex colors:
|
||||
|
||||
- **Yellow (#FB8D14)**: `(0.984, 0.553, 0.078, 1)`
|
||||
- **Red (#E8083E)**: `(0.909, 0.031, 0.243, 1)`
|
||||
- **Green (#02864A)**: `(0.008, 0.525, 0.290, 1)`
|
||||
The RGBA equivalent of `#573CFA` is `(0.341, 0.235, 0.980, 1)`.
|
||||
|
||||
Reference in New Issue
Block a user