How To Install python3-colour on AlmaLinux 8

In this tutorial we learn how to install python3-colour in AlmaLinux 8. python3-colour is Python module to convert and manipulate color representations

Introduction

In this tutorial we learn how to install python3-colour on AlmaLinux 8.

What is python3-colour

Converts and manipulates common color representation (RGB, HSL, web, etc.) - Damn simple and pythonic way to manipulate color representation - Full conversion between RGB, HSL, 6-digit hex, 3-digit hex, human color - One object (Color) or bunch of single purpose function (rgb2hex, hsl2rgb, etc.) web format that use the smallest representation between 6-digit (e.g. #fa3b2c), 3-digit (e.g. #fbb), fully spelled color (e.g. white), following W3C color naming for compatible CSS or HTML color specifications. - smooth intuitive color scale generation choosing N color gradients. - can pick colors for you to identify objects of your application.

We can use yum or dnf to install python3-colour on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-colour.

Install python3-colour on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-colour using dnf by running the following command:

sudo dnf -y install python3-colour

Install python3-colour on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-colour using yum by running the following command:

sudo yum -y install python3-colour

How To Uninstall python3-colour on AlmaLinux 8

To uninstall only the python3-colour package we can use the following command:

sudo dnf remove python3-colour

References

Summary

In this tutorial we learn how to install python3-colour on AlmaLinux 8 using yum and dnf.