Skip to content

i want to have a better color convert tool #28

Closed

Description

@vuon9

that has a color picker or even a picker that lets me pick color from another app window
and output me all the details and all possibilities it can be converted to

and output me color as code so i can use it in code, here is a sample but it can bring more than that

# CSS Level 4 Color Module:

    rgb({red-b} {green-b} {blue-b})

    rgb({red-b} {green-b} {blue-b} / {alpha-p}%)

    hsl({hue-d}deg {hsl-saturation-p}% {lightness-p}%)

    hsl({hue-d}deg {hsl-saturation-p}% {lightness-p}% / {alpha-p}%)

# Swift:

    NSColor(
        calibratedRed: {red},
        green: {green},
        blue: {blue},
        alpha: {alpha}
    )

    NSColor(
        calibratedHue: {hue},
        saturation: {hsb-saturation},
        brightness: {brightness},
        alpha: {alpha}
    )

# .NET

    Color.FromRgb({red-b}, {green-b}, {blue-b})

    Color.FromArgb({red-b}, {green-b}, {blue-b}, {alpha-b})

# Java

    new Color({red-b}, {green-b}, {blue-b})

    new Color({red-b}, {green-b}, {blue-b}, {alpha-b})

# Android

    Color.rgb({red-b}, {green-b}, {blue-b})

    Color.argb({red-b}, {green-b}, {blue-b}, {alpha-b})

    <color name="color_name">{hex}</color>

    <color name="color_name">{hex-alpha}</color>

# OpenGL

    glColor3f({red}, {green}, {blue})

    glColor4f({red}, {green}, {blue}, {alpha})

# ObjC
  
    [UIColor colorWithRed:{red} green:{green} blue:{blue} alpha:{alpha}]

    [UIColor colorWithHue:{hue} saturation:{hsb-saturation} brightness:{brightness} alpha:{alpha}]

Activity

  1. vuon9 commented on Feb 1, 2026

    @vuon9
    OwnerAuthor

    /opencode can you help to learn about the issue and wrap it up as a proper requirement?

  2. vuon9 commented on Feb 1, 2026

    @vuon9
    OwnerAuthor

    /opencode can you help to learn about the issue and wrap it up as a proper requirement?

  3. opencode-agent commented on Feb 1, 2026

    @opencode-agent
    Contributor

    I've analyzed the issue and wrapped it up as a comprehensive requirements document above. The tool needs:

    1. Visual color picker + eyedropper for picking colors from any screen
    2. 8+ programming language outputs (CSS, Swift, .NET, Java, Android, OpenGL, ObjC, Flutter, Unity)
    3. Real-time conversion showing all possible formats
    4. One-click copy for each code snippet
    5. Color history to track recently used colors

    The eyedropper feature is the most complex part since it requires native screen capture APIs (Wails/Electron can handle this on desktop).

    Would you like me to start implementing this color converter tool?

    New%20session%20-%202026-02-01T06%3A46%3A10.912Z
    opencode session  |  github run

  4. vuon9 commented on Feb 1, 2026

    @vuon9
    OwnerAuthor

    /opencode pls try to implement it and open a pr when it's done.

  5. opencode-agent commented on Feb 1, 2026

    @opencode-agent
    Contributor

    Created PR #30

    New%20session%20-%202026-02-01T06%3A56%3A15.439Z
    opencode session  |  github run

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions