RainbowVis-JS icon indicating copy to clipboard operation
RainbowVis-JS copied to clipboard

Transparency

Open ktaylora opened this issue 9 years ago • 4 comments

How hard would it be to add support for transparency via an alpha channel, such as : #00FFFFFF?

ktaylora avatar May 20 '16 22:05 ktaylora

Are alpha channels represented like this in some context? (I am normally a back end developer, so I have not seen alpha channels appended like this before.)

anomal avatar Jul 04 '16 22:07 anomal

@anomal The alpha value is usually added to the end of the hex string. #00FFFFFF therefore represents a turquoise with 100% opacity.

NicoWeio avatar Mar 23 '19 20:03 NicoWeio

Are alpha channels represented like this in some context?

Yes; it's how hex colors work in CSS. See the "#rrggbbaa" section at https://developer.mozilla.org/en-US/docs/Web/HTML/Applying_color#RGB_values.

ExplodingCabbage avatar Mar 25 '19 10:03 ExplodingCabbage

So would somebody be able to implement that?

NicoWeio avatar Mar 25 '19 12:03 NicoWeio