From 078fa47c4cdccd0f75054c72f7392b51c5fd4b39 Mon Sep 17 00:00:00 2001 From: Juergen Jung Date: Thu, 2 Mar 2017 20:41:34 +0100 Subject: [PATCH] RGB Converter --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 61af63f..def3b5e 100644 --- a/Readme.md +++ b/Readme.md @@ -23,7 +23,7 @@ To convert RGB value use the following bash code: ```shell function rgbToColor { echo $(( $(($1<<16)) + $(($2<<8)) + $(($3)) )); -} +} function colorToRGB { echo "Red: $(($1>>16&0xff))"