Alpha blending calculator
Project description
blec: alpha blending calculator
This is a simple 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
Just clone this repository:
pip3 install --user 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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
blec-0.0.2-py3-none-any.whl
(3.4 kB
view hashes)