Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 17:48 28 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : OLED 1.3" Blue.. RGB Colour

Author Message
asknik2022
Regular Member

Joined: 26/03/2022
Location: United Kingdom
Posts: 92
Posted: 07:55am 27 May 2023
Copy link to clipboard 
Print this post

Does anybody know the actual RGB (?,?,?) colour numbers are so that I cabn use the same colour on an ILI9341 Display
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2140
Posted: 08:23am 27 May 2023
Copy link to clipboard 
Print this post

You could find out by trial and error.
Blues are from 0 to 248 in steps of 8. Red and blue are 5 bit and green is 6 bit.

eg
for b% = 0 to 248 step 8 : cls b% : print RGB(0,0,b%) : pause 500 : next

When the colour is right note the last value of b%
If none of those are quite right add some red or green and try again.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 08:48am 27 May 2023
Copy link to clipboard 
Print this post

MMBasic will try to map to the closest available colour, I think.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
IanRogers

Senior Member

Joined: 09/12/2022
Location: United Kingdom
Posts: 151
Posted: 11:53am 27 May 2023
Copy link to clipboard 
Print this post

  asknik2022 said  Does anybody know the actual RGB (?,?,?) colour numbers are so that I cabn use the same colour on an ILI9341 Display


Again! I just use paint in windows.. The colour picker is pretty good.
I draw or copy a picture and use the pixel picker then look at the RGB values in the colour picker. ( just double click "Edit Colours")
I'd give my left arm to be ambidextrous
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024