From 5f023457c008478936e7270d9b7d28cc86fdea34 Mon Sep 17 00:00:00 2001 From: Thomas Rupprecht Date: Tue, 24 Sep 2024 17:52:46 +0200 Subject: [PATCH] doc: fix header level in color-convert README (#157) --- packages/color-convert/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/color-convert/README.md b/packages/color-convert/README.md index 84cbb8550..a7d1a9259 100644 --- a/packages/color-convert/README.md +++ b/packages/color-convert/README.md @@ -202,25 +202,25 @@ validHex("#8c0dba") //=> true rgbaToHexa({ b: 26, g: 2, r: 209, a: 1 }) // => '#d1021aff' ``` -### `hexToXY` +#### `hexToXY` ```js hexToXY('#4780f1') // => { x: 0.261, y: 0.231, bri: 0.863 } ``` -### `xyToHex` +#### `xyToHex` ```js xyToHex({ x: 0.261, y: 0.231, bri: 0.863 }) // => #4780f1 ``` -### `rgbToXY` +#### `rgbToXY` ```js rgbToXY({ r: 71, g: 128, b: 241 }) // => { x: 0.261, y: 0.231, bri: 0.863 } ``` -### `xyToRgb` +#### `xyToRgb` ```js xyToRgb({ x: 0.261, y: 0.231, bri: 0.863 }) // => { r: 71, g: 128, b: 241 }