Code Monkey home page Code Monkey logo

hex-to-rgb's Introduction

hex-to-rgb's People

Contributors

dependabot[bot] avatar safaelmali avatar sw-257 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

sw-257

hex-to-rgb's Issues

Few bugs in the page

It should display an error for all the values greater than #ffffff , but it is working and showing results for hex like #asafaz, #fgaraf, #asasas, #ararar, etc.
Basically I'm able to put letters which come after 'f' at all the even places of the hex....like #azazaz won't show an error, but #zzazaz or #zzzzzz will.
The catch is eg. if I input #afafaf, it will show 175,175,175, but if I input #agafaf, it will show 10,175,175. It is just omitting the 2nd digit of the hex and showing only the value of 'a'. Similarly #bgafaf will give 11,175,175 and #cgafaf will give 12,175,175, and this is true for all the pairs, like #afaraf will give 175,10,175 and #ararar will give 10,10,10.
Secondly, I think you should limit the input to only 6 digits, as it is able to take 7 digits after # at present.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.