Alpha blending calculator
Project description
blec: alpha blending calculator
This is a tool to calculate a resulting color of the alpha blending process. A gamma correction is enabled and the default gamma value is 2.2.
Usage
Just enumerate colors from the bottom to the top
$ blec 555555dd ffffffcc 00000011
#e4e4e4f8
You may use ARGB instead of RGBA
$ blec --argb dd555555 ccffffff 11000000
#f8e4e4e4
You may change gamma value (set it to 1 to disable)
$ blec --gamma 3 555555dd ffffffcc 00000011
#eaeaeaf8
Installation
pip3 install blec
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
blec-0.5.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
blec-0.5.0-py3-none-any.whl
(4.4 kB
view hashes)