kopia lustrzana https://github.com/sepandhaghighi/samila
doc : README color section updated
rodzic
b6558c5cd7
commit
dac8ca3fa0
|
@ -172,7 +172,11 @@ Samila is a generative art generator written in Python, Samila let's you create
|
|||
<img src="https://github.com/sepandhaghighi/samila/raw/master/otherfiles/images/4.png">
|
||||
|
||||
* Supported colors are available in `VALID_COLORS` list
|
||||
* `color` and `bgcolor` parameters support color name and RGB/RGBA formats
|
||||
* `color` and `bgcolor` parameters supported formats:
|
||||
|
||||
1. Color name (example: `yellow`)
|
||||
2. RGB/RGBA (example: `(0.1,0.1,0.1)`, `(0.1,0.1,0.1,0.1)`)
|
||||
3. Hex (example: `#eeefff`)
|
||||
|
||||
### Regeneration
|
||||
```pycon
|
||||
|
|
|
@ -151,6 +151,17 @@
|
|||
"plt.show()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"* `color` and `bgcolor` parameters supported formats:\n",
|
||||
"\n",
|
||||
" 1. Color name (example: `yellow`)\n",
|
||||
" 2. RGB/RGBA (example: `(0.1,0.1,0.1)`, `(0.1,0.1,0.1,0.1)`)\n",
|
||||
" 3. Hex (example: `#eeefff`)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
|
|
Ładowanie…
Reference in New Issue