
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Turn transparent pixels to a specified color and make opaque pixels transparent with CSS
Use the mask effect to turn transparent pixels to a specified color and makes opaque pixels transparent.
The following parameter is used in this filter
S.No | Parameter & Description |
---|---|
1 | Color The color that the transparent areas will become. |
Example
You can try to run the following code to implement mask effect
<html> <head> </head> <body> <img src = "/css/images/logo.png"alt = "CSS Logo"style = "FILTER: Chroma(Color = #000000) Mask(Color=#00FF00)"> <p>Text Example:</p> <div style = "width: 357; height: 50; font-size: 30pt; font-family: Arial Black; color: red; Filter: Mask(Color=#00FF00)">CSS Tutorials</div> </body> </html>
- Related Questions & Answers
- Make any particular color transparent with CSS Filters
- Create a transparent image with CSS
- Create a transparent box with CSS
- How to make the marker face color transparent without making the line transparent in Matplotlib?
- Set Font Size with Pixels using CSS
- Setting Font Size with Pixels in CSS
- Setting Font Size with Pixels using CSS
- Plotting a transparent histogram with non-transparent edge in Matplotlib
- How to define a measurement in screen pixels with CSS?
- How to make a Tkinter canvas rectangle transparent?
- How to make axes transparent in Matplotlib?
- How to make a background 20% transparent on Android
- How to make a background 25% transparent on iOS
- How to make a background 25% transparent on Android?
- How to make Matplotlib scatterplots transparent as a group?
Advertisements