To summarize the contents of the bag, we have the following:
- Blue marbles: 18
- Red marbles: 12
- Green marbles: 6
If you need further calculations or specific information (such as the total number of marbles, probability of selecting a marble of a certain color, etc.), please let me know!