<?xml version="1.0"?>
<page id="Gimp.Drawable.colorize_hsl"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Gimp.Drawable" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Boolean</api:type>
      </api:returns>
      <api:name>gimp_drawable_colorize_hsl</api:name>
      <api:arg>
        <api:type>Number(gdouble)</api:type>
        <api:name>hue</api:name>
      </api:arg>
      <api:arg>
        <api:type>Number(gdouble)</api:type>
        <api:name>saturation</api:name>
      </api:arg>
      <api:arg>
        <api:type>Number(gdouble)</api:type>
        <api:name>lightness</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Drawable.prototype.colorize_hsl</title>
  <synopsis><code mime="text/x-gjs">
function colorize_hsl(hue: Number(gdouble), saturation: Number(gdouble), lightness: Number(gdouble)): Boolean {
    // Gjs wrapper for gimp_drawable_colorize_hsl()
}
  </code></synopsis>
  <p>Render the drawable as a grayscale image seen through a colored
glass.</p>  <p>Desaturates the drawable, then tints it with the specified color.
This tool is only valid on RGB color images. It will not operate on
grayscale drawables.</p>
  <p>Since 2.10</p>
<terms>
<item>
<title><code>hue</code></title>
  <p>Hue in degrees.</p>
</item>
<item>
<title><code>saturation</code></title>
  <p>Saturation in percent.</p>
</item>
<item>
<title><code>lightness</code></title>
  <p>Lightness in percent.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>TRUE on success.</p>
</item>
</terms>

</page>
