{{newin|[[0.9.0]]|090|type=function}}
Gets the active color components used when drawing. Normally all 4 components are active unless [[love.graphics.setColorMask]] has been used.

The color mask determines whether individual components of the colors of drawn objects will affect the color of the screen. They affect [[love.graphics.clear]] and [[Canvas:clear]] as well.
== Function ==
=== Synopsis ===
<source lang="lua">
r, g, b, a = love.graphics.getColorMask( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|boolean|r|Whether the red color component is active when rendering.}}
{{param|boolean|g|Whether the green color component is active when rendering.}}
{{param|boolean|b|Whether the blue color component is active when rendering.}}
{{param|boolean|a|Whether the alpha color component is active when rendering.}}
== See Also ==
* [[parent::love.graphics]]
* [[love.graphics.setColorMask]]
[[Category:Functions]]
{{#set:Description=Gets the active color components used when drawing.}}
{{#set:Sub-Category=State}}
== Other Languages ==
{{i18n|love.graphics.getColorMask}}