GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — color-utils `parseColorWithAlpha` can't parse rgb percentage values sent in from sass when using `color.scale()` or `rgb()` with percentages · Issue #11525 · NativeScript/NativeScript

color-utils parseColorWithAlpha can't parse rgb percentage values sent in from sass when using color.scale() or rgb() with percentages #11525

New issue
Copy link
New issue
Copy link
Open
Open
color-utils parseColorWithAlpha can't parse rgb percentage values sent in from sass when using color.scale() or rgb() with percentages#11525
Copy link
Labels
bugcss

Description

@JWiseCoder
JWiseCoder
opened on Oct 14, 2026
Issue body actions

parseColorWithAlpha in color utils gives wrong color values when percentages are passed from sass.

If we use color.scale() in our scss, recent sass updates serializes the rgb color using percentage values. parseColorWithAlpha does not parse those percentage values correctly, leading to wrong colors being displayed.

The same thing happens when using rbg() with percentage values. rgb(100%, 50%, 0) should be bright orange similar to rgb(255, 128, 0) but it parses to the same asrgb(100, 50, 0). (NOTE: This happens regardless of sass version)

Activity

  1. JWiseCoder
    added
    bug-pending-triageReported bug, pending triage to confirm.Reported bug, pending triage to confirm.
    on Oct 14, 2026
  2. JWiseCoder
    changed the title [-]color-utils `parseColorWithAlpha` can't parse rgb percentage values sent in from sass when using `color.scale()`[/-] [+]color-utils `parseColorWithAlpha` can't parse rgb percentage values sent in from sass when using `color.scale()` or `rgb()`[/+] on Oct 14, 2026
  3. JWiseCoder
    changed the title [-]color-utils `parseColorWithAlpha` can't parse rgb percentage values sent in from sass when using `color.scale()` or `rgb()`[/-] [+]color-utils `parseColorWithAlpha` can't parse rgb percentage values sent in from sass when using `color.scale()` or `rgb()` with percentages[/+] on Oct 16, 2026
  4. NathanWalker
    added
    bug
    css
    and removed
    bug-pending-triageReported bug, pending triage to confirm.Reported bug, pending triage to confirm.
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcss

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.