From fd978f4bc4a8849ef3bbc33134cd8c8a4f146696 Mon Sep 17 00:00:00 2001 From: nelsonic Date: Wed, 11 Dec 2019 22:26:14 +0000 Subject: [PATCH] add instructions for converting hex to rgb (required for elm-ui) #145 --- tutorials/elm-ui/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tutorials/elm-ui/README.md b/tutorials/elm-ui/README.md index b1d9b43..a313773 100644 --- a/tutorials/elm-ui/README.md +++ b/tutorials/elm-ui/README.md @@ -118,9 +118,11 @@ myElement = ``` In your terminal run: + ``` elm reactor ``` + Open the following page in your web browser: http://localhost:8000/src/Main.elm @@ -148,6 +150,14 @@ when they are [_categorising_](https://github.com/dwyl/app/issues/235) ![color-picker-dwyl-teal](https://user-images.githubusercontent.com/194400/70664979-72b49a00-1c63-11ea-80f4-fc533948f60f.png) +In the short-term if we have a _hex_ value e.g: `#4bc0a9` +that we need to convert to RGB, +~~simply use a free online tool: +https://www.rapidtables.com/convert/color/hex-to-rgb.html~~ +pasting the _hex_ into google returns the RGB conversion. +e.g: https://www.google.com/search?q=%234bc0a9 + + ### Debugging Layout with `Element.explain Debug.todo`