terence410 / ultimate-text-to-image

MIT License
32 stars 6 forks source link

Is there any way to change background color opacity? #4

Closed jahamed closed 2 years ago

jahamed commented 2 years ago

I'm assuming I can hook into Canvas to make the background color more transparent?

backgroundColor: 'rgba(0, 0, 200, 0.5)',

Sets the color to green but still with full opacity.

Thanks!

jahamed commented 2 years ago

My bad, had a brain fart and didn't realize you could set a RRGGBBAA value for colors.