🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15233

get the nearest system color ?

#15233
From: Christophe
Date: Fri, 25 Jun 1999 00:00
9 lines
814 bytes
Hi

I'd like to know how to get the nearest color in the system for a specific
color where RGB values are random values.
I've tried several things with the ColorSpace class like the toRGB()
function but it failed.
How can I do it ?

Thx in advance.
Technical Details
Message-ID: <7kvv03$f407@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,e269dfabe0092d64,start
X-Google-Attributes: gidf74b3,public
From: "Christophe" <cespern@ragemail.com>
Subject: get the nearest system color ?
Date: 1999/06/25
Message-ID: <7kvv03$f407@forums.borland.com>
X-Deja-AN: 493759055
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.language