> For the complete documentation index, see [llms.txt](https://spectrecss.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spectrecss.angular-package.dev/function/color/lightness-level-var.md).

# lightness-level-var()

{% code title="" lineNumbers="true" %}

```scss
@function lightness-level-var($name, $prefix: $var-prefix) {
  @return css-var(color-name($name), $prefix, '#{$var-lightness}-l');
}
```

{% endcode %}
