PRODUCTS
Mathematica
Mathematica Home Edition
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
Wolfram Lightweight Grid Manager
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
SOLUTIONS
Industry
Chemical Engineering
Image Processing
Mechanical Engineering
Petroleum Engineering
Environmental Sciences
Bioinformatics
Data Analysis and Mining
Financial Risk Management
Statistics
Software Engineering
More...
Education
Higher Education
Precollege Education
Students
Technology
Interactive Deployment
High-Performance and Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Learning Center
Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Wolfram|Alpha
Demonstrations Project
Wolfram Blog
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Mathematica
>
Visualization and Graphics
>
Graphics Options & Styling
>
Colors
>
Mathematica
>
Data Manipulation
>
Image Processing & Analysis
>
Color Processing
>
Colors
>
Mathematica
>
Visualization and Graphics
>
Symbolic Graphics Language
>
Graphics Directives
>
Colors
>
Built-in
Mathematica
Symbol
Three-Dimensional Graphics Directives
Tutorials »
|
RGBColor
GrayLevel
Hue
Transparent
Blend
Specularity
Glow
WindowOpacity
See Also »
|
Color Processing
Colors
Graphics Directives
Graphics Options & Styling
Symbolic Graphics Language
New in 6.0: Graphics Primitives & Directives
New in 6.0: Visualization & Graphics
More About »
Opacity
Opacity
[
a
]
is a graphics directive which specifies that graphical objects which follow are to be displayed, if possible, with opacity
a
.
Opacity
[
a
,
color
]
uses the specified color with opacity
a
.
MORE INFORMATION
Opacity runs from 0 to 1, with 0 representing perfect transparency.
If an opacity
a
object with color
c
1
is placed in front of an object with color
c
2
, the resulting color will be the blend
a
c
1
+(1-
a
)
c
2
.
If red and blue with opacity 0.5 are combined, the result is purple—not black, as it would be with physical monochromatic filters.
»
Opacity
works in both 2D and 3D graphics.
It may take significantly longer to render 3D graphics that involve transparent surfaces.
Graphics that involve transparency may need to be printed as high-resolution bitmaps.
On many computer systems, objects with opacity
a
will appear completely transparent if
a
is too small.
»
EXAMPLES
CLOSE ALL
Basic Examples
(3)
Make a 50% transparent sphere:
In[1]:=
Out[1]=
Plot a see-through surface:
In[1]:=
Out[1]=
Overlapping translucent 2D disks:
In[1]:=
Out[1]=
Scope
(2)
Generalizations & Extensions
(2)
Applications
(3)
Properties & Relations
(6)
Possible Issues
(3)
Neat Examples
(1)
SEE ALSO
RGBColor
GrayLevel
Hue
Transparent
Blend
Specularity
Glow
WindowOpacity
TUTORIALS
Three-Dimensional Graphics Directives
MORE ABOUT
Color Processing
Colors
Graphics Directives
Graphics Options & Styling
Symbolic Graphics Language
New in 6.0: Graphics Primitives & Directives
New in 6.0: Visualization & Graphics
RELATED LINKS
Demonstrations with Opacity
(
Wolfram Demonstrations Project
)
New in 6