Changing Kivy Button Colors - Python Kivy GUI Tutorial #7

codemy(72)
Published in
#coding
Words
117
Reading
1 min
Listen
Play
6y

In this video I'll show you how to change the color of buttons with Kivy.

Kivy uses a kind of weird color system that looks like this (1,1,1,1) where each of those 1's represents a color (Red, Green, Blue, and Alpha).

To choose colors, divide the RGB value you want by 255.0 to get the kivy color code.

I'll also show you a hacky way to use hex color codes instead of the weir (1,1,1,1) thing.

✅ Watch The Kivy Playlist
https://bit.ly/37LrJ27

▶️ Get The Code
https://bit.ly/31QeMjM

✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR

▶️ See More At:
https://Codemy.com

✅ Join My Facebook Group:
http://bit.ly/2GFmOBz

▶️ Learn to Code at https://Codemy.com
Take $22 off with coupon code: youtube

✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN

Changing Kivy Button Colors - Python Kivy GUI Tutorial #7 | Ecency