Selleys Marine Flex may be suitable for this task and is available in Black and White.
It can be applied and will cure underwater. Another product we have for repairing underwater cracks is Selleys Knead It Aqua Epoxy repair compound. If the crack is particularly long you may need to contact a pool specialist for advice on the best product to use.