Deprecate utility tag

This commit is contained in:
Angelos Chalaris
2020-04-16 23:07:33 +03:00
parent 5e42f0aaa4
commit e31aea403d
60 changed files with 118 additions and 117 deletions

View File

@ -1,6 +1,6 @@
---
title: RGBToHex
tags: utility,intermediate
tags: string,math,intermediate
---
Converts the values of RGB components to a color code.
@ -13,4 +13,4 @@ const RGBToHex = (r, g, b) => ((r << 16) + (g << 8) + b).toString(16).padStart(6
```js
RGBToHex(255, 165, 1); // 'ffa501'
```
```