@Override
	public void render() {
		if (!enabled && grayOnDisable) Color.gray.bind();
		super.render();
		glEnable(GL_BLEND);
		
		int fac = 8;
		TextureImpl.bindNone();
		color.bind();
		
		RenderAssistant.drawRect(x + fac, y + fac, width - fac * 2, height - fac * 2);
		glColor4f(1, 1, 1, 0.5f);
		RenderAssistant.bindTexture("/graphics/textures/ui/colorMod.png");
		RenderAssistant.renderRect(x + fac, y + fac, width - fac * 2, height - fac * 2);
		if (!enabled && grayOnDisable) {
			glColor4f(0.1f, 0.1f, 0.1f, 0.5f);
			RenderAssistant.drawRect(x + fac, y + fac, width - fac * 2, height - fac * 2);
		}
		glColor3f(1, 1, 1);
		glDisable(GL_BLEND);
	}