On my diamond I was fishing and a green octilary apeared. but, my pokedex only had the record of a male octilary and the green one was female. so are females green or is it shiny?
You got a shiny! You're very lucky theres a 1/8192 chance of finding a shiny!
Probably the reason it shows female as green is that was the first female Octillery you saw.