INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Whats the Hex for Red.  (Read 1122 times)

sub-24

  • Regular Member
  • World Citizen
  • ***
  • Posts: 225
  • It Happens
Whats the Hex for Red.
« on: April 04, 2002, 06:01:17 am »

In Vis Studio

White = 0xFFFFFF
Blue = 0x0000FF


Whats the correct Hex number for RED.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
RE:Whats the Hex for Red.
« Reply #1 on: April 04, 2002, 06:21:36 am »

0xFF0000

It's like this:

0x

then

2 digits for the red component (0 to 255 in decimal, or 00 to FF in hex)
2 digits for the green component (0 to 255 in decimal, or 00 to FF in hex)
2 digits for the blue component (0 to 255 in decimal, or 00 to FF in hex)

Hope that helps.

-Matt
Logged
Matt Ashland, JRiver Media Center

Doof

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5908
  • Farm Animal Stupid
RE:Whats the Hex for Red.
« Reply #2 on: April 04, 2002, 06:30:03 am »

Here's a couple of good programs that help you figure out color hex codes.

ColorDetective II at http://www.colordetective.com/
3C at http://user.tninet.se/~ddb786p/program/

3C is nice because it also lets you capture screen colors. So if there's a color on another window you want to match up to, you can do that with 3C.
Logged

sub-24

  • Regular Member
  • World Citizen
  • ***
  • Posts: 225
  • It Happens
RE:Whats the Hex for Red.
« Reply #3 on: April 04, 2002, 06:30:05 am »

Matt.

Yes that helps a lot.

Now sorted - gotta have RED for Right channel and White for Left.

Its the simple things that are worh while.
Logged

Doof

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5908
  • Farm Animal Stupid
RE:Whats the Hex for Red.
« Reply #4 on: April 04, 2002, 06:32:02 am »

Oh, I take it back... ColorDetective II can grab screen colors as well... and it does it even better than 3C.

Ok, I'm switching. Next Page
Logged

dragyn

  • Guest
RE:Whats the Hex for Red.
« Reply #5 on: April 04, 2002, 11:33:52 am »

Well what about text color. r=;b=;g= ??

When I put the values in for each, it doesn't show the right color.
Logged

Doof

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5908
  • Farm Animal Stupid
RE:Whats the Hex for Red.
« Reply #6 on: April 04, 2002, 12:28:33 pm »

What doesn't?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
RE:Whats the Hex for Red.
« Reply #7 on: April 04, 2002, 12:37:54 pm »

When the vis studio uses equations for color, it uses r=0...1 g=0...1 and b=0...1

So, r=1;g=1;b=1; is white and r=0;g=0;b=0; is black and r=rand(1);g=rand(1);b=rand(1) is random.

-Matt
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up