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 KingdomPosts: 92 |
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: AustraliaPosts: 2140 |
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 KingdomPosts: 6798 |
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 KingdomPosts: 151 |
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 |