Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/fmt/colors.ts>dim

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function dim
import { dim } from "https://deno.land/std@0.221.0/fmt/colors.ts";

The text emits only a small amount of light.

Parameters

str: string

text to dim

Warning: Not all terminal emulators support dim. For compatibility across all terminals, use gray or brightBlack instead.

Returns

string