Skip to content

Element.rgb accepts integers #368

@crawftv

Description

@crawftv

Welcome!

the element.rgb function accepts an Int and rounds it, when it should accept Float. rgb255 should take Int's.

Ellie showing my problem. https://ellie-app.com/sWKSJzfP9sna1

Expected behavior
A clear and concise description of what you expected to happen.

Versions

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Browser Version
  • Elm Version
  • Elm UI Version [e.g. ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    has-ellieThis is a bug and has an ellie which demonstrates it.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions