You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
307 B
14 lines
307 B
1 year ago
|
|
||
|
from colourpal import *
|
||
|
|
||
|
|
||
|
|
||
|
print("start", hsv(1, 0.6, 0.1).str())
|
||
|
print("end", hsv(50, 0.6, 0.1).str())
|
||
|
print("start", hsv(1, 0.6, 0.1).rgb().str())
|
||
|
print("end", hsv(50, 0.6, 0.1).rgb().str())
|
||
|
|
||
|
x = lerp_gradient(hsv(1,0.6,0.1), hsv(50, 0.6, 0.1), 10)
|
||
|
for i in x:
|
||
|
print(i.str(), i.hexstring(), i.str())
|