JuliaGraphics / ColorTypes.jl

Basic color definitions and traits
Other
77 stars 35 forks source link

Generalize conversions within the same base color #264

Closed kimikage closed 2 years ago

kimikage commented 2 years ago

This supports adding/stripping alpha for colors other than Color3.

Fixes #241

codecov[bot] commented 2 years ago

Codecov Report

Merging #264 (cccd730) into master (bd4bad2) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #264   +/-   ##
=======================================
  Coverage   83.80%   83.80%           
=======================================
  Files           8        8           
  Lines         735      735           
=======================================
  Hits          616      616           
  Misses        119      119           
Impacted Files Coverage Δ
src/conversions.jl 85.71% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bd4bad2...cccd730. Read the comment docs.