Skip to content

auto contrast for alpha values #3

@padpadpadpad

Description

@padpadpadpad

Hi @teunbrand,

I love the autocontrast function, but was wondering how I might be able to get it to work when using the alpha (transparency) argument within geom_tile(). Currently it just turns all tiles black or white depending on the base colour, whereas it would be awesome if it changed based on the colour after the transparency has occurred.

Cheers
Dan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions