Skip to content

Commit edde617

Browse files
committed
doc: add styleText hex color doc
1 parent 5b6a943 commit edde617

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/util.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2548,7 +2548,8 @@ changes:
25482548
-->
25492549
25502550
* `format` {string | Array} A text format or an Array
2551-
of text formats defined in `util.inspect.colors`.
2551+
of text formats defined in `util.inspect.colors`, or a hex color in `#RGB`
2552+
or `#RRGGBB` form.
25522553
* `text` {string} The text to to be formatted.
25532554
* `options` {Object}
25542555
* `validateStream` {boolean} When true, `stream` is checked to see if it can handle colors. **Default:** `true`.

0 commit comments

Comments
 (0)