do I have to convert a normal picture to pixel map or is it something you can do in Lazarus?
and how can I add a value to a color? like I said before, I'm really new to Lazarus pascal
You cannot convert "a normal picture" to pixel map. Pixel map is a "normal picture", that has a special image on it.
So creating one, won't require you any knowledge of Lazarus, but rather some graphical editor that could save you some time in generating one.
The idea is that every part of the board has it's own "logical" color. The program would take the "logical color" and map it to a score.
(That brings you to an array of colors and scores).
Once a user clicks on TImage (that represents a nice looking dartboard) - you get X,Y value. Then you would read a color value from the pixel map bitmap. That gives you the "logical" color. Then you lookup the score value in your color-to-score table.
Obvious restrictions and limitations. PixelMap must match in size to the normal image of the dartboard.