Sep 21, 2017 In B4J unfortunately only a few colors are predefined, for all the people who often work with colors, I have the work done to define the gimp colors for different purposes. (translate with google) Text file with TAB seperate values, RGB ("gimp_colors_tab.txt") 255 250 250 snow 248 248 255 ghost white Click to expand... Text file with comma seperate values, RGB ("gimp_colors_comma.txt") 255,250,250,snow 248,248,255,ghost white Click to expand... Text file with b4j Dim declares, only names without space ("gimp_colors_dim.txt") Dim Snow As Long = 0xfffafaff Dim GhostWhite As Long = 0xf8f8ffff Click to expand... as a Map file ("gimp_colors_map.txt") snow4=0x8b8989ff ghost\ white=0xf8f8ffff Click to expand... as a Map declares file, only names without space ("gimp_colors_mapdef.txt") GimpColors.Initialize GimpColors.Put("snow", 0xfffafaff) GimpColors.Put("GhostWhite", 0xf8f8ffff) Click to expand... I renamed "tan" to "tawny" in order to have no conflicts with the function of "tan". Attachments gimp_colors_map.txt gimp_colors_map.txt 16.2 KB · Views: 591 gimp_colors_comma.txt gimp_colors_comma.txt 15.2 KB · Views: 535 gimp_colors_tab.txt gimp_colors_tab.txt 15.2 KB · Views: 522 gimp_colors_dim.txt gimp_colors_dim.txt 22 KB · Views: 732 gimp_colors_mapdef.txt gimp_colors_mapdef.txt 27.9 KB · Views: 699 Last edited: Sep 21, 2017 Click to expand...
In B4J unfortunately only a few colors are predefined, for all the people who often work with colors, I have the work done to define the gimp colors for different purposes. (translate with google) Text file with TAB seperate values, RGB ("gimp_colors_tab.txt") 255 250 250 snow 248 248 255 ghost white Click to expand... Text file with comma seperate values, RGB ("gimp_colors_comma.txt") 255,250,250,snow 248,248,255,ghost white Click to expand... Text file with b4j Dim declares, only names without space ("gimp_colors_dim.txt") Dim Snow As Long = 0xfffafaff Dim GhostWhite As Long = 0xf8f8ffff Click to expand... as a Map file ("gimp_colors_map.txt") snow4=0x8b8989ff ghost\ white=0xf8f8ffff Click to expand... as a Map declares file, only names without space ("gimp_colors_mapdef.txt") GimpColors.Initialize GimpColors.Put("snow", 0xfffafaff) GimpColors.Put("GhostWhite", 0xf8f8ffff) Click to expand... I renamed "tan" to "tawny" in order to have no conflicts with the function of "tan".