19 October 2019, 14:33 | #1 |
Registered User
Join Date: Sep 2019
Location: Essen/Germany
Age: 55
Posts: 463
|
Amiga color palette as GMP download
Is the amiga color palette for download somehwere (gimp palette preferably)? Or is there a list of the 4096 RGB values documented?
For the C64 there is this page https://www.c64-wiki.com/wiki/Color and I look for something similar. |
19 October 2019, 14:51 | #2 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,213
|
0x000 to 0xFFF are the 4096 colour values. The Amiga doesn't have a fixed "palette" so to speak, in the sense of a fixed set of colours, as colour can be any 4bit component of R,G & B
Direct remap to 8 bit RGB values by multiplying each 4 bit component by 17 (0x11 hex) so... 0xF00 (brightest red) -> 0xFF0000 so... 0x421 (brown) -> 0x442211 etc... |
19 October 2019, 14:56 | #3 |
Registered User
Join Date: Dec 2016
Location: England
Posts: 87
|
Amiga has a 12-bit RGB palette in the form RRRRGGGGBBBB
EDIT: Oh, took me so long to finish this (got distracted), didn't see @DanScott's reply |
19 October 2019, 15:13 | #4 |
Registered User
Join Date: Dec 2014
Location: germany
Posts: 439
|
What the other's said; there's also a simple plug-in for gimp that simulates the OCS palette as a filter:
https://github.com/alexalkis/palette_amigaOCS Can be helpful to quickly check how your image looks in 4-bit RGB. Unfortunately, it automatically converts the image to indexed colors (1-5 bitplanes, EHB and HAM not supported), but you can easily change that behavior in the python source in case you don't want it. |
19 October 2019, 15:33 | #5 |
Registered User
Join Date: Sep 2019
Location: Essen/Germany
Age: 55
Posts: 463
|
Thanks. With this info I created my own palette file. I don't use gimp as it is a bit complicated for me. I'm using Piskel, which can load a Gimp Color Palette file, so I created one for C64 and one for the Amiga.
|
19 October 2019, 19:46 | #6 |
Registered User
Join Date: Nov 2004
Location: Germany
Posts: 629
|
Hi,
here is a function (for the Blitzbasic for PC), which i use to convert amiga colors to RGB colors. Code:
Function Ami2rgb(col) ;formula found on http://computingvoyage.com/982/color-bit-depth-reducer/ ;This calculates the amiga rgb (rgb) format into RGB colors of PC (RRGGBB) ;Col here represents either r,g or b value. Return 255/15*col End Function Amiga colors will be in range from 000 to fff. If you want to convert, for example 12f to the PC's RGB format, you will have to do it for each number, separately: Color Ami2rgb(1), Ami2rgb(2), Ami2Rgb(15) Last edited by Dan; 19 October 2019 at 20:28. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Color Saturation and Color Tint/Hue | Retro-Nerd | support.WinUAE | 22 | 02 August 2018 10:38 |
Amiga CD32/SX-1 Graphics Palette Issues | BanditLOAF | support.Hardware | 0 | 06 June 2014 03:04 |
Personal Paint's Color Palette in C | aszu | Coders. General | 1 | 17 May 2014 18:13 |
Printing in color with WinUAE on color laser | source | support.Apps | 7 | 14 April 2013 00:32 |
ISO true color to 256 color algorithm | Lord Riton | Coders. General | 19 | 15 April 2011 17:49 |
|
|